#406E21

Closest named color: Dark Olive Green (#556B2F). oklch(48.8% 0.119 135.1), rgb(64, 110, 33).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.47:1
White text6.05:1

Values

HEX#406E21
RGBrgb(64, 110, 33)
HSLhsl(96, 54%, 28%)
OKLCHoklch(48.8% 0.119 135.1)

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 #406E21 6.05:1 AA Lc -85.2 Fine for body text
Black text on #406E21 3.47:1 AA large text Lc 24.0 Dividers and decoration only
#406E21 text on white 6.05:1 AA Lc 80.0 Fine for body text
#406E21 text on black 3.47: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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E5EDE2

    oklch(93.7% 0.017 137)

  3. Step 200

    200

    #D0DEC9

    oklch(88.4% 0.032 135)

  4. Step 300

    300

    #B1C9A4

    oklch(80.8% 0.057 134.6)

  5. Step 400

    400

    #88AE73

    oklch(70.8% 0.092 134.9)

  6. Step 500

    500

    #69994E

    oklch(63.1% 0.117 135.3)

  7. Step 600

    600

    #508330

    oklch(55.5% 0.127 135.2)

  8. Step 700

    700 (this color)

    #406E21

    oklch(48.8% 0.119 135.1)

  9. Step 800

    800

    #365A1E

    oklch(42.6% 0.098 134.9)

  10. Step 900

    900

    #2F4A1E

    oklch(37.6% 0.076 134.8)

  11. Step 950

    950

    #1C2C13

    oklch(27.1% 0.048 135.2)

Export this scale for Tailwind in the Tailwind colors tool

#406E21 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)#7265170.071
Deuteranopia (no green cones)#6C61280.073
Tritanopia (no blue cones)#3F6A5E0.085
Achromatopsia (no color)#6363630.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #406E21

    #406E21

    oklch(48.8% 0.119 135.1)

  • #79488D

    #79488D

    oklch(48.7% 0.119 315.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406E21

    #406E21

    oklch(48.8% 0.119 135.1)

  • #696200

    #696200

    oklch(48.7% 0.103 104.7)

  • #007251

    #007251

    oklch(48.9% 0.103 164.8)

Open the analogous palette in the generator

Split complementary

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

  • #406E21

    #406E21

    oklch(48.8% 0.119 135.1)

  • #5A549F

    #5A549F

    oklch(48.8% 0.117 284.8)

  • #8D406F

    #8D406F

    oklch(48.7% 0.119 344.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406E21

    #406E21

    oklch(48.8% 0.119 135.1)

  • #2C60A1

    #2C60A1

    oklch(48.7% 0.119 255.4)

  • #973F4A

    #973F4A

    oklch(48.8% 0.118 14.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406E21

    #406E21

    oklch(48.8% 0.119 135.1)

  • #006A87

    #006A87

    oklch(48.8% 0.092 225.1)

  • #79488D

    #79488D

    oklch(48.7% 0.119 315.5)

  • #95461D

    #95461D

    oklch(48.9% 0.119 45.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #406E21 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.