#18271B

Closest named color: Jet (#212529). oklch(25.5% 0.03 150), rgb(24, 39, 27).

Aa

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

About this color

#18271B is a dark, muted green. In OKLCH its lightness is 25%, its chroma 0.030 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.034 away. White text reads best on it, at 15.61:1.

Hue familyGreens
Lightnessdark (25%)
Chromamuted (0.030)
Temperaturein between
Nearest nameJet (#212529)
Black text1.34:1
White text15.61:1

Values

HEX#18271B
RGBrgb(24, 39, 27)
HSLhsl(132, 24%, 12%)
OKLCHoklch(25.5% 0.03 150)

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

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B1C8B5

    oklch(81% 0.036 150.4)

  5. Step 400

    400

    #87AB8E

    oklch(70.6% 0.058 150.5)

  6. Step 500

    500

    #699672

    oklch(63% 0.073 150.1)

  7. Step 600

    600

    #50815A

    oklch(55.7% 0.08 149.7)

  8. Step 700

    700

    #406D4A

    oklch(49.2% 0.075 150)

  9. Step 800

    800

    #35593D

    oklch(42.8% 0.062 150.2)

  10. Step 900

    900

    #2F4934

    oklch(37.8% 0.048 149.7)

  11. Step 950

    950 (this color)

    #18271B

    oklch(25.5% 0.03 150)

Export this scale for Tailwind in the Tailwind colors tool

#18271B 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)#27251A0.025
Deuteranopia (no green cones)#25231C0.026
Tritanopia (no blue cones)#1626240.018
Achromatopsia (no color)#2424240.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #18271B

    #18271B

    oklch(25.5% 0.03 150)

  • #2B1D2A

    #2B1D2A

    oklch(25.4% 0.032 328.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18271B

    #18271B

    oklch(25.5% 0.03 150)

  • #212514

    #212514

    oklch(25.5% 0.03 119.4)

  • #112823

    #112823

    oklch(25.6% 0.031 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #18271B

    #18271B

    oklch(25.5% 0.03 150)

  • #251F2F

    #251F2F

    oklch(25.4% 0.031 301.4)

  • #2F1D22

    #2F1D22

    oklch(25.6% 0.029 1.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18271B

    #18271B

    oklch(25.5% 0.03 150)

  • #1D2232

    #1D2232

    oklch(25.5% 0.031 270.7)

  • #301D1A

    #301D1A

    oklch(25.4% 0.031 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18271B

    #18271B

    oklch(25.5% 0.03 150)

  • #152530

    #152530

    oklch(25.6% 0.03 239.5)

  • #2B1D2A

    #2B1D2A

    oklch(25.4% 0.032 328.9)

  • #2E1F14

    #2E1F14

    oklch(25.5% 0.03 57.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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