#18271C

Closest named color: Jet (#212529). oklch(25.5% 0.029 152.3), rgb(24, 39, 28).

Aa

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

About this color

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

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

Values

HEX#18271C
RGBrgb(24, 39, 28)
HSLhsl(136, 24%, 12%)
OKLCHoklch(25.5% 0.029 152.3)

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 #18271C 15.60:1 AAA Lc -105.2 Preferred for body text
Black text on #18271C 1.34:1 Fails Lc 0.0 Not readable
#18271C text on white 15.60:1 AAA Lc 102.5 Preferred for body text
#18271C 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

    #D0DDD3

    oklch(88.5% 0.019 152.8)

  4. Step 300

    300

    #B1C7B6

    oklch(80.8% 0.034 152.3)

  5. Step 400

    400

    #87AB90

    oklch(70.7% 0.055 152.5)

  6. Step 500

    500

    #699675

    oklch(63.1% 0.07 152.4)

  7. Step 600

    600

    #4F805D

    oklch(55.5% 0.076 152.4)

  8. Step 700

    700

    #406C4D

    oklch(49% 0.07 152.6)

  9. Step 800

    800

    #35583F

    oklch(42.6% 0.058 152.4)

  10. Step 900

    900

    #2E4936

    oklch(37.8% 0.046 153.1)

  11. Step 950

    950 (this color)

    #18271C

    oklch(25.5% 0.029 152.3)

Export this scale for Tailwind in the Tailwind colors tool

#18271C 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)#27251B0.025
Deuteranopia (no green cones)#25231D0.026
Tritanopia (no blue cones)#1627240.015
Achromatopsia (no color)#2424240.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #18271C

    #18271C

    oklch(25.5% 0.029 152.3)

  • #2B1E29

    #2B1E29

    oklch(25.5% 0.028 331.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18271C

    #18271C

    oklch(25.5% 0.029 152.3)

  • #202515

    #202515

    oklch(25.4% 0.029 122.6)

  • #112824

    #112824

    oklch(25.7% 0.03 181.2)

Open the analogous palette in the generator

Split complementary

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

  • #18271C

    #18271C

    oklch(25.5% 0.029 152.3)

  • #25202F

    #25202F

    oklch(25.6% 0.029 299.7)

  • #2F1D22

    #2F1D22

    oklch(25.6% 0.029 1.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18271C

    #18271C

    oklch(25.5% 0.029 152.3)

  • #1E2231

    #1E2231

    oklch(25.5% 0.029 272.7)

  • #2F1E1A

    #2F1E1A

    oklch(25.5% 0.028 33.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18271C

    #18271C

    oklch(25.5% 0.029 152.3)

  • #162530

    #162530

    oklch(25.6% 0.029 241.1)

  • #2B1E29

    #2B1E29

    oklch(25.5% 0.028 331.7)

  • #2D2014

    #2D2014

    oklch(25.6% 0.029 63.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18271C 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.