#215F40

Closest named color: Pine (#2B5D34). oklch(43.6% 0.082 158.3), rgb(33, 95, 64).

Aa

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

About this color

#215F40 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.082 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.016 away. White text reads best on it, at 7.56:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.77:1
White text7.56:1

Values

HEX#215F40
RGBrgb(33, 95, 64)
HSLhsl(150, 48%, 25%)
OKLCHoklch(43.6% 0.082 158.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 #215F40 7.56:1 AAA Lc -90.9 Preferred for body text
Black text on #215F40 2.77:1 Fails Lc 18.0 Dividers and decoration only
#215F40 text on white 7.56:1 AAA Lc 86.0 Fine for body text
#215F40 text on black 2.77:1 Fails Lc -16.0 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A7CBB5

    oklch(81% 0.049 158.3)

  5. Step 400

    400

    #77B08F

    oklch(70.8% 0.077 158.3)

  6. Step 500

    500

    #509B73

    oklch(63% 0.097 158.6)

  7. Step 600

    600

    #2F865B

    oklch(55.6% 0.107 158.2)

  8. Step 700

    700

    #21714B

    oklch(49% 0.098 158.5)

  9. Step 800

    800 (this color)

    #215F40

    oklch(43.6% 0.082 158.3)

  10. Step 900

    900

    #1F4C34

    oklch(37.7% 0.065 157.8)

  11. Step 950

    950

    #132C1F

    oklch(26.8% 0.04 159.4)

Export this scale for Tailwind in the Tailwind colors tool

#215F40 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)#5E583E0.076
Deuteranopia (no green cones)#5652420.074
Tritanopia (no blue cones)#045E570.038
Achromatopsia (no color)#5454540.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #215F40

    #215F40

    oklch(43.6% 0.082 158.3)

  • #6E3F61

    #6E3F61

    oklch(43.6% 0.081 338)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #215F40

    #215F40

    oklch(43.6% 0.082 158.3)

  • #445A25

    #445A25

    oklch(43.6% 0.083 128.2)

  • #005F59

    #005F59

    oklch(43.7% 0.076 187.3)

Open the analogous palette in the generator

Split complementary

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

  • #215F40

    #215F40

    oklch(43.6% 0.082 158.3)

  • #5E4474

    #5E4474

    oklch(43.5% 0.082 308.2)

  • #773D49

    #773D49

    oklch(43.7% 0.082 7.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #215F40

    #215F40

    oklch(43.6% 0.082 158.3)

  • #474C7E

    #474C7E

    oklch(43.6% 0.082 278.1)

  • #77402F

    #77402F

    oklch(43.5% 0.081 37.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #215F40

    #215F40

    oklch(43.6% 0.082 158.3)

  • #29557D

    #29557D

    oklch(43.8% 0.082 248.2)

  • #6E3F61

    #6E3F61

    oklch(43.6% 0.081 338)

  • #6F4817

    #6F4817

    oklch(43.7% 0.082 68.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #215F40 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.