#18271E

Closest named color: Jet (#212529). oklch(25.6% 0.027 157.6), rgb(24, 39, 30).

Aa

White text reads best on this color (15.58:1).

About this color

#18271E is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.029 away. White text reads best on it, at 15.58:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.34:1
White text15.58:1

Values

HEX#18271E
RGBrgb(24, 39, 30)
HSLhsl(144, 24%, 12%)
OKLCHoklch(25.6% 0.027 157.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #18271E 15.58:1 AAA Lc -105.2 Preferred for body text
Black text on #18271E 1.34:1 Fails Lc 0.0 Not readable
#18271E text on white 15.58:1 AAA Lc 102.5 Preferred for body text
#18271E text on black 1.34:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE7

    oklch(93.6% 0.01 155.1)

  3. Step 200

    200

    #D0DDD5

    oklch(88.5% 0.018 159.1)

  4. Step 300

    300

    #B1C7B9

    oklch(80.9% 0.031 157.7)

  5. Step 400

    400

    #87AB94

    oklch(70.8% 0.052 156.8)

  6. Step 500

    500

    #68967A

    oklch(63.2% 0.065 157.2)

  7. Step 600

    600

    #4F8063

    oklch(55.6% 0.07 157.2)

  8. Step 700

    700

    #3F6C52

    oklch(49.1% 0.065 157.5)

  9. Step 800

    800

    #355843

    oklch(42.7% 0.054 156.9)

  10. Step 900

    900

    #2E4839

    oklch(37.6% 0.041 158.4)

  11. Step 950

    950 (this color)

    #18271E

    oklch(25.6% 0.027 157.6)

Export this scale for Tailwind in the Tailwind colors tool

#18271E with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#27251E0.025
Deuteranopia (no green cones)#24231F0.024
Tritanopia (no blue cones)#1527240.011
Achromatopsia (no color)#2424240.027

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #18271E

    #18271E

    oklch(25.6% 0.027 157.6)

  • #2C1E28

    #2C1E28

    oklch(25.6% 0.028 337.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18271E

    #18271E

    oklch(25.6% 0.027 157.6)

  • #1F2618

    #1F2618

    oklch(25.7% 0.027 129.7)

  • #132725

    #132725

    oklch(25.5% 0.026 187.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #18271E

    #18271E

    oklch(25.6% 0.027 157.6)

  • #26202D

    #26202D

    oklch(25.6% 0.025 305.7)

  • #2E1E21

    #2E1E21

    oklch(25.6% 0.025 6.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18271E

    #18271E

    oklch(25.6% 0.027 157.6)

  • #202230

    #202230

    oklch(25.6% 0.027 278)

  • #2E1F1A

    #2E1F1A

    oklch(25.6% 0.025 39.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18271E

    #18271E

    oklch(25.6% 0.027 157.6)

  • #19242F

    #19242F

    oklch(25.5% 0.026 248.9)

  • #2C1E28

    #2C1E28

    oklch(25.6% 0.028 337.2)

  • #2C2115

    #2C2115

    oklch(25.7% 0.027 68.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #18271E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #18271E in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.