#215840

Closest named color: Pine (#2B5D34). oklch(41.6% 0.071 162), rgb(33, 88, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.53:1
White text8.28:1

Values

HEX#215840
RGBrgb(33, 88, 64)
HSLhsl(154, 45%, 24%)
OKLCHoklch(41.6% 0.071 162)

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 #215840 8.28:1 AAA Lc -93.0 Preferred for body text
Black text on #215840 2.53:1 Fails Lc 15.6 Dividers and decoration only
#215840 text on white 8.28:1 AAA Lc 88.4 Fine for body text
#215840 text on black 2.53:1 Fails Lc -13.8 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 800.

  1. Step 50

    50

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E3ECE7

    oklch(93.5% 0.012 162)

  3. Step 200

    200

    #CCDED4

    oklch(88.4% 0.024 161.7)

  4. Step 300

    300

    #AAC9B8

    oklch(80.8% 0.041 161.4)

  5. Step 400

    400

    #7BAE94

    oklch(70.7% 0.066 161.9)

  6. Step 500

    500

    #569A7A

    oklch(63.2% 0.085 162.2)

  7. Step 600

    600

    #388463

    oklch(55.6% 0.092 162.4)

  8. Step 700

    700

    #2A7052

    oklch(49.2% 0.086 162.2)

  9. Step 800

    800 (this color)

    #215840

    oklch(41.6% 0.071 162)

  10. Step 900

    900

    #234B38

    oklch(37.7% 0.056 161.3)

  11. Step 950

    950

    #152C21

    oklch(27% 0.036 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#215840 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)#57523F0.069
Deuteranopia (no green cones)#4F4C420.067
Tritanopia (no blue cones)#0858510.029
Achromatopsia (no color)#4E4E4E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #215840

    #215840

    oklch(41.6% 0.071 162)

  • #663C57

    #663C57

    oklch(41.6% 0.07 341.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #215840

    #215840

    oklch(41.6% 0.071 162)

  • #3D542A

    #3D542A

    oklch(41.6% 0.071 132.3)

  • #015856

    #015856

    oklch(41.6% 0.071 192.1)

Open the analogous palette in the generator

Split complementary

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

  • #215840

    #215840

    oklch(41.6% 0.071 162)

  • #594068

    #594068

    oklch(41.6% 0.072 312.1)

  • #6D3B42

    #6D3B42

    oklch(41.6% 0.071 11.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #215840

    #215840

    oklch(41.6% 0.071 162)

  • #464772

    #464772

    oklch(41.7% 0.071 281.8)

  • #6C3E2C

    #6C3E2C

    oklch(41.5% 0.071 41.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #215840

    #215840

    oklch(41.6% 0.071 162)

  • #2E4E72

    #2E4E72

    oklch(41.6% 0.072 252.5)

  • #663C57

    #663C57

    oklch(41.6% 0.07 341.6)

  • #64451B

    #64451B

    oklch(41.6% 0.071 71.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #215840 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.