#406A02

Closest named color: Camouflage Green (#4B6113). oklch(47.5% 0.13 131.5), rgb(64, 106, 2).

Aa

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

About this color

#406A02 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.130 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.033 away. White text reads best on it, at 6.40:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text3.28:1
White text6.40:1

Values

HEX#406A02
RGBrgb(64, 106, 2)
HSLhsl(84, 96%, 21%)
OKLCHoklch(47.5% 0.13 131.5)

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 #406A02 6.40:1 AA Lc -86.7 Fine for body text
Black text on #406A02 3.28:1 AA large text Lc 22.5 Dividers and decoration only
#406A02 text on white 6.40:1 AA Lc 81.6 Fine for body text
#406A02 text on black 3.28:1 AA large text Lc -20.3 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

    #E5EDE0

    oklch(93.6% 0.019 133.1)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B2CAA0

    oklch(81% 0.063 132)

  5. Step 400

    400

    #8AAE6B

    oklch(70.8% 0.1 131.5)

  6. Step 500

    500

    #6D9941

    oklch(63.1% 0.128 131.4)

  7. Step 600

    600

    #54831C

    oklch(55.6% 0.139 131.6)

  8. Step 700

    700 (this color)

    #406A02

    oklch(47.5% 0.13 131.5)

  9. Step 800

    800

    #395A10

    oklch(42.6% 0.107 131.2)

  10. Step 900

    900

    #314A16

    oklch(37.6% 0.083 131.2)

  11. Step 950

    950

    #1D2C0E

    oklch(27.1% 0.054 131.3)

Export this scale for Tailwind in the Tailwind colors tool

#406A02 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)#6F61000.071
Deuteranopia (no green cones)#6A5E120.071
Tritanopia (no blue cones)#4165590.099
Achromatopsia (no color)#5F5F5F0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #406A02

    #406A02

    oklch(47.5% 0.13 131.5)

  • #744391

    #744391

    oklch(47.6% 0.13 311.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406A02

    #406A02

    oklch(47.5% 0.13 131.5)

  • #685D00

    #685D00

    oklch(47.4% 0.099 101.4)

  • #006E49

    #006E49

    oklch(47.5% 0.105 161.5)

Open the analogous palette in the generator

Split complementary

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

  • #406A02

    #406A02

    oklch(47.5% 0.13 131.5)

  • #5250A2

    #5250A2

    oklch(47.6% 0.129 281.4)

  • #8B3971

    #8B3971

    oklch(47.5% 0.131 341.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406A02

    #406A02

    oklch(47.5% 0.13 131.5)

  • #125EA2

    #125EA2

    oklch(47.6% 0.13 251.2)

  • #963649

    #963649

    oklch(47.4% 0.129 11.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406A02

    #406A02

    oklch(47.5% 0.13 131.5)

  • #00677F

    #00677F

    oklch(47.6% 0.087 221.2)

  • #744391

    #744391

    oklch(47.6% 0.13 311.4)

  • #963D16

    #963D16

    oklch(47.6% 0.13 41.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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