#406A23

Closest named color: Camo Green (#526525). oklch(47.7% 0.111 134.7), rgb(64, 106, 35).

Aa

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

About this color

#406A23 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.111 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo Green (#526525), ΔE 0.027 away. White text reads best on it, at 6.35:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameCamo Green (#526525)
Black text3.30:1
White text6.35:1

Values

HEX#406A23
RGBrgb(64, 106, 35)
HSLhsl(95, 50%, 28%)
OKLCHoklch(47.7% 0.111 134.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 #406A23 6.35:1 AA Lc -86.6 Fine for body text
Black text on #406A23 3.30:1 AA large text Lc 22.6 Dividers and decoration only
#406A23 text on white 6.35:1 AA Lc 81.4 Fine for body text
#406A23 text on black 3.30:1 AA large text Lc -20.4 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

    #E5ECE2

    oklch(93.5% 0.015 136.1)

  3. Step 200

    200

    #D1DECA

    oklch(88.5% 0.03 134.4)

  4. Step 300

    300

    #B2C9A6

    oklch(80.9% 0.054 134.9)

  5. Step 400

    400

    #8AAD76

    oklch(70.7% 0.086 134.6)

  6. Step 500

    500

    #6C9852

    oklch(63.1% 0.11 134.8)

  7. Step 600

    600

    #548235

    oklch(55.5% 0.119 134.5)

  8. Step 700

    700 (this color)

    #406A23

    oklch(47.7% 0.111 134.7)

  9. Step 800

    800

    #385A22

    oklch(42.8% 0.093 134.8)

  10. Step 900

    900

    #314A21

    oklch(37.8% 0.072 134.5)

  11. Step 950

    950

    #1D2B14

    oklch(26.9% 0.044 134.1)

Export this scale for Tailwind in the Tailwind colors tool

#406A23 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)#6E621A0.066
Deuteranopia (no green cones)#685E290.067
Tritanopia (no blue cones)#3F665B0.080
Achromatopsia (no color)#5F5F5F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #406A23

    #406A23

    oklch(47.7% 0.111 134.7)

  • #744788

    #744788

    oklch(47.7% 0.112 314.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406A23

    #406A23

    oklch(47.7% 0.111 134.7)

  • #665F00

    #665F00

    oklch(47.7% 0.101 104.6)

  • #006E4E

    #006E4E

    oklch(47.7% 0.101 164.8)

Open the analogous palette in the generator

Split complementary

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

  • #406A23

    #406A23

    oklch(47.7% 0.111 134.7)

  • #575298

    #575298

    oklch(47.7% 0.11 284.6)

  • #87406B

    #87406B

    oklch(47.7% 0.111 344.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406A23

    #406A23

    oklch(47.7% 0.111 134.7)

  • #2C5E9A

    #2C5E9A

    oklch(47.8% 0.111 254.5)

  • #903E49

    #903E49

    oklch(47.6% 0.111 14.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406A23

    #406A23

    oklch(47.7% 0.111 134.7)

  • #006783

    #006783

    oklch(47.8% 0.09 224.8)

  • #744788

    #744788

    oklch(47.7% 0.112 314.7)

  • #8F4521

    #8F4521

    oklch(47.8% 0.112 44.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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