#21542E

Closest named color: Pine (#2B5D34). oklch(40% 0.084 149.5), rgb(33, 84, 46).

Aa

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

About this color

#21542E is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.084 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.032 away. White text reads best on it, at 8.85:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.37:1
White text8.85:1

Values

HEX#21542E
RGBrgb(33, 84, 46)
HSLhsl(135, 44%, 23%)
OKLCHoklch(40% 0.084 149.5)

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 #21542E 8.85:1 AAA Lc -94.5 Preferred for body text
Black text on #21542E 2.37:1 Fails Lc 13.9 Not readable
#21542E text on white 8.85:1 AAA Lc 90.0 Preferred for body text
#21542E text on black 2.37:1 Fails Lc -12.2 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 900.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CAE0CD

    oklch(88.5% 0.035 149.3)

  4. Step 300

    300

    #A5CDAB

    oklch(81% 0.064 149.2)

  5. Step 400

    400

    #72B27E

    oklch(70.6% 0.1 149.2)

  6. Step 500

    500

    #489F5D

    oklch(63.2% 0.129 149.3)

  7. Step 600

    600

    #228943

    oklch(55.6% 0.14 149.5)

  8. Step 700

    700

    #117435

    oklch(49.1% 0.13 149.6)

  9. Step 800

    800

    #145F2C

    oklch(42.8% 0.108 149.4)

  10. Step 900

    900 (this color)

    #21542E

    oklch(40% 0.084 149.5)

  11. Step 950

    950

    #112E18

    oklch(27.2% 0.054 149.5)

Export this scale for Tailwind in the Tailwind colors tool

#21542E 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)#554D2B0.070
Deuteranopia (no green cones)#4E48300.068
Tritanopia (no blue cones)#15524B0.048
Achromatopsia (no color)#4A4A4A0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #21542E

    #21542E

    oklch(40% 0.084 149.5)

  • #60365D

    #60365D

    oklch(40% 0.083 329.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21542E

    #21542E

    oklch(40% 0.084 149.5)

  • #434E11

    #434E11

    oklch(40.1% 0.084 119.3)

  • #005449

    #005449

    oklch(40% 0.072 180)

Open the analogous palette in the generator

Split complementary

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

  • #21542E

    #21542E

    oklch(40% 0.084 149.5)

  • #4F3C6E

    #4F3C6E

    oklch(40% 0.084 300.1)

  • #6B3346

    #6B3346

    oklch(40.1% 0.083 360)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21542E

    #21542E

    oklch(40% 0.084 149.5)

  • #364575

    #364575

    oklch(40.2% 0.083 269.3)

  • #6E342C

    #6E342C

    oklch(40% 0.084 29.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21542E

    #21542E

    oklch(40% 0.084 149.5)

  • #0E4D70

    #0E4D70

    oklch(40.1% 0.084 239.5)

  • #60365D

    #60365D

    oklch(40% 0.083 329.6)

  • #683B10

    #683B10

    oklch(40% 0.084 59.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21542E 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.