#21522F

Closest named color: Pine (#2B5D34). oklch(39.5% 0.079 150.6), rgb(33, 82, 47).

Aa

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

About this color

#21522F is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.079 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.038 away. White text reads best on it, at 9.08:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.31:1
White text9.08:1

Values

HEX#21522F
RGBrgb(33, 82, 47)
HSLhsl(137, 43%, 23%)
OKLCHoklch(39.5% 0.079 150.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 #21522F 9.08:1 AAA Lc -95.1 Preferred for body text
Black text on #21522F 2.31:1 Fails Lc 13.3 Not readable
#21522F text on white 9.08:1 AAA Lc 90.7 Preferred for body text
#21522F text on black 2.31:1 Fails Lc -11.6 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CE

    oklch(88.5% 0.034 150.8)

  4. Step 300

    300

    #A6CCAD

    oklch(80.9% 0.059 150.3)

  5. Step 400

    400

    #73B282

    oklch(70.8% 0.096 150.9)

  6. Step 500

    500

    #4B9E62

    oklch(63.2% 0.121 150.6)

  7. Step 600

    600

    #278848

    oklch(55.5% 0.132 150.6)

  8. Step 700

    700

    #177339

    oklch(49% 0.123 150.6)

  9. Step 800

    800

    #185E30

    oklch(42.7% 0.101 150.7)

  10. Step 900

    900 (this color)

    #21522F

    oklch(39.5% 0.079 150.6)

  11. Step 950

    950

    #122D19

    oklch(26.9% 0.05 150.3)

Export this scale for Tailwind in the Tailwind colors tool

#21522F 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)#524B2D0.066
Deuteranopia (no green cones)#4C47310.065
Tritanopia (no blue cones)#1551490.042
Achromatopsia (no color)#4848480.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #21522F

    #21522F

    oklch(39.5% 0.079 150.6)

  • #5E355A

    #5E355A

    oklch(39.4% 0.08 330.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21522F

    #21522F

    oklch(39.5% 0.079 150.6)

  • #404C15

    #404C15

    oklch(39.3% 0.079 120.7)

  • #005248

    #005248

    oklch(39.3% 0.071 181)

Open the analogous palette in the generator

Split complementary

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

  • #21522F

    #21522F

    oklch(39.5% 0.079 150.6)

  • #4D3B6A

    #4D3B6A

    oklch(39.3% 0.08 300.4)

  • #683244

    #683244

    oklch(39.4% 0.08 0.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21522F

    #21522F

    oklch(39.5% 0.079 150.6)

  • #364371

    #364371

    oklch(39.4% 0.08 270.5)

  • #6A342B

    #6A342B

    oklch(39.4% 0.079 30.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21522F

    #21522F

    oklch(39.5% 0.079 150.6)

  • #144B6C

    #144B6C

    oklch(39.5% 0.079 240.1)

  • #5E355A

    #5E355A

    oklch(39.4% 0.08 330.6)

  • #653B12

    #653B12

    oklch(39.6% 0.08 60.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21522F 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.