#18271D

Closest named color: Jet (#212529). oklch(25.6% 0.028 154.8), rgb(24, 39, 29).

Aa

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

About this color

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

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

Values

HEX#18271D
RGBrgb(24, 39, 29)
HSLhsl(140, 24%, 12%)
OKLCHoklch(25.6% 0.028 154.8)

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

    #D0DDD4

    oklch(88.5% 0.019 155.8)

  4. Step 300

    300

    #B1C7B7

    oklch(80.8% 0.033 154)

  5. Step 400

    400

    #87AB92

    oklch(70.7% 0.053 154.5)

  6. Step 500

    500

    #689678

    oklch(63.1% 0.067 155.4)

  7. Step 600

    600

    #4F8060

    oklch(55.5% 0.073 154.7)

  8. Step 700

    700

    #406C4F

    oklch(49.1% 0.068 154.3)

  9. Step 800

    800

    #355841

    oklch(42.6% 0.056 154.5)

  10. Step 900

    900

    #2E4937

    oklch(37.8% 0.045 154.5)

  11. Step 950

    950 (this color)

    #18271D

    oklch(25.6% 0.028 154.8)

Export this scale for Tailwind in the Tailwind colors tool

#18271D 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)#27251C0.025
Deuteranopia (no green cones)#24231E0.024
Tritanopia (no blue cones)#1527240.013
Achromatopsia (no color)#2424240.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

  • #2B1E28

    #2B1E28

    oklch(25.5% 0.027 334.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

  • #202516

    #202516

    oklch(25.5% 0.028 123.3)

  • #122725

    #122725

    oklch(25.4% 0.027 187.7)

Open the analogous palette in the generator

Split complementary

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

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

  • #26202E

    #26202E

    oklch(25.7% 0.027 304.1)

  • #2F1D21

    #2F1D21

    oklch(25.5% 0.029 4.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

  • #1F2230

    #1F2230

    oklch(25.5% 0.027 275)

  • #2F1E1A

    #2F1E1A

    oklch(25.5% 0.028 33.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18271D

    #18271D

    oklch(25.6% 0.028 154.8)

  • #172430

    #172430

    oklch(25.4% 0.029 247)

  • #2B1E28

    #2B1E28

    oklch(25.5% 0.027 334.7)

  • #2C2015

    #2C2015

    oklch(25.5% 0.027 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 #18271D, closest first.

Similar named colors

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

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