#217040

Closest named color: Dark Olive Green (#556B2F). oklch(48.5% 0.108 152.7), rgb(33, 112, 64).

Aa

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

About this color

#217040 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.108 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.050 away. White text reads best on it, at 6.07:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.45:1
White text6.07:1

Values

HEX#217040
RGBrgb(33, 112, 64)
HSLhsl(144, 54%, 28%)
OKLCHoklch(48.5% 0.108 152.7)

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 #217040 6.07:1 AA Lc -85.2 Fine for body text
Black text on #217040 3.45:1 AA large text Lc 24.0 Dividers and decoration only
#217040 text on white 6.07:1 AA Lc 80.0 Fine for body text
#217040 text on black 3.45:1 AA large text Lc -21.8 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 700.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE5

    oklch(93.6% 0.015 151.8)

  3. Step 200

    200

    #CCDFD0

    oklch(88.5% 0.029 151.9)

  4. Step 300

    300

    #A8CBB1

    oklch(80.9% 0.052 153)

  5. Step 400

    400

    #78B088

    oklch(70.7% 0.083 152.9)

  6. Step 500

    500

    #529C6A

    oklch(63.1% 0.106 152.8)

  7. Step 600

    600

    #328651

    oklch(55.5% 0.116 152.7)

  8. Step 700

    700 (this color)

    #217040

    oklch(48.5% 0.108 152.7)

  9. Step 800

    800

    #205D36

    oklch(42.8% 0.09 152.4)

  10. Step 900

    900

    #204C2F

    oklch(37.6% 0.07 152.7)

  11. Step 950

    950

    #142D1C

    oklch(27.1% 0.045 152.8)

Export this scale for Tailwind in the Tailwind colors tool

#217040 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)#70663D0.093
Deuteranopia (no green cones)#665F430.092
Tritanopia (no blue cones)#006E640.056
Achromatopsia (no color)#6262620.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #217040

    #217040

    oklch(48.5% 0.108 152.7)

  • #824679

    #824679

    oklch(48.5% 0.107 332.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #217040

    #217040

    oklch(48.5% 0.108 152.7)

  • #546815

    #546815

    oklch(48.4% 0.108 122.6)

  • #006F63

    #006F63

    oklch(48.6% 0.087 182)

Open the analogous palette in the generator

Split complementary

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

  • #217040

    #217040

    oklch(48.5% 0.108 152.7)

  • #6B4E91

    #6B4E91

    oklch(48.4% 0.108 302.5)

  • #8F4259

    #8F4259

    oklch(48.5% 0.107 3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #217040

    #217040

    oklch(48.5% 0.108 152.7)

  • #4B599C

    #4B599C

    oklch(48.5% 0.109 272.8)

  • #924535

    #924535

    oklch(48.5% 0.108 33.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #217040

    #217040

    oklch(48.5% 0.108 152.7)

  • #156597

    #156597

    oklch(48.7% 0.108 242.6)

  • #824679

    #824679

    oklch(48.5% 0.107 332.9)

  • #894F07

    #894F07

    oklch(48.5% 0.108 62.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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