#406F21

Closest named color: Dark Olive Green (#556B2F). oklch(49.1% 0.12 135.3), rgb(64, 111, 33).

Aa

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

About this color

#406F21 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.120 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.035 away. White text reads best on it, at 5.97:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.51:1
White text5.97:1

Values

HEX#406F21
RGBrgb(64, 111, 33)
HSLhsl(96, 54%, 28%)
OKLCHoklch(49.1% 0.12 135.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 #406F21 5.97:1 AA Lc -84.9 Fine for body text
Black text on #406F21 3.51:1 AA large text Lc 24.4 Dividers and decoration only
#406F21 text on white 5.97:1 AA Lc 79.7 Fine for body text
#406F21 text on black 3.51:1 AA large text Lc -22.1 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #D0DEC9

    oklch(88.4% 0.032 135)

  4. Step 300

    300

    #B1CAA4

    oklch(81% 0.059 134.9)

  5. Step 400

    400

    #87AE73

    oklch(70.7% 0.093 135.4)

  6. Step 500

    500

    #69994D

    oklch(63% 0.118 135.1)

  7. Step 600

    600

    #50832F

    oklch(55.5% 0.128 135.1)

  8. Step 700

    700 (this color)

    #406F21

    oklch(49.1% 0.12 135.3)

  9. Step 800

    800

    #355B1E

    oklch(42.8% 0.1 135.5)

  10. Step 900

    900

    #2E4B1E

    oklch(37.8% 0.079 135.7)

  11. Step 950

    950

    #1B2C12

    oklch(27% 0.05 135.7)

Export this scale for Tailwind in the Tailwind colors tool

#406F21 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)#7366160.072
Deuteranopia (no green cones)#6D62280.074
Tritanopia (no blue cones)#3F6B5F0.086
Achromatopsia (no color)#6363630.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #406F21

    #406F21

    oklch(49.1% 0.12 135.3)

  • #7A498F

    #7A498F

    oklch(49.1% 0.12 315)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406F21

    #406F21

    oklch(49.1% 0.12 135.3)

  • #6A6300

    #6A6300

    oklch(49.1% 0.104 104.8)

  • #007252

    #007252

    oklch(48.9% 0.102 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #406F21

    #406F21

    oklch(49.1% 0.12 135.3)

  • #5B54A1

    #5B54A1

    oklch(49% 0.12 285.2)

  • #8F4170

    #8F4170

    oklch(49.2% 0.12 345.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406F21

    #406F21

    oklch(49.1% 0.12 135.3)

  • #2C61A3

    #2C61A3

    oklch(49.1% 0.12 255.3)

  • #983F4A

    #983F4A

    oklch(49% 0.12 15.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406F21

    #406F21

    oklch(49.1% 0.12 135.3)

  • #006B88

    #006B88

    oklch(49.1% 0.093 224.9)

  • #7A498F

    #7A498F

    oklch(49.1% 0.12 315)

  • #96461C

    #96461C

    oklch(49% 0.12 45.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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