#406A28

Closest named color: Camo Green (#526525). oklch(47.8% 0.107 135.7), rgb(64, 106, 40).

Aa

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

About this color

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

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

Values

HEX#406A28
RGBrgb(64, 106, 40)
HSLhsl(98, 45%, 29%)
OKLCHoklch(47.8% 0.107 135.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 #406A28 6.34:1 AA Lc -86.5 Fine for body text
Black text on #406A28 3.31:1 AA large text Lc 22.6 Dividers and decoration only
#406A28 text on white 6.34:1 AA Lc 81.4 Fine for body text
#406A28 text on black 3.31:1 AA large text Lc -20.5 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

    #D1DECB

    oklch(88.6% 0.029 135.6)

  4. Step 300

    300

    #B2C9A8

    oklch(81% 0.052 136.2)

  5. Step 400

    400

    #8AAD79

    oklch(70.8% 0.083 135.7)

  6. Step 500

    500

    #6C9856

    oklch(63.1% 0.105 135.9)

  7. Step 600

    600

    #53823A

    oklch(55.6% 0.115 135.9)

  8. Step 700

    700 (this color)

    #406A28

    oklch(47.8% 0.107 135.7)

  9. Step 800

    800

    #385A26

    oklch(42.8% 0.089 135.9)

  10. Step 900

    900

    #314A23

    oklch(37.8% 0.069 135.3)

  11. Step 950

    950

    #1D2B15

    oklch(27% 0.043 134.9)

Export this scale for Tailwind in the Tailwind colors tool

#406A28 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)#6E62210.066
Deuteranopia (no green cones)#685E2D0.067
Tritanopia (no blue cones)#3F665C0.077
Achromatopsia (no color)#5F5F5F0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #406A28

    #406A28

    oklch(47.8% 0.107 135.7)

  • #744885

    #744885

    oklch(47.7% 0.107 316)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406A28

    #406A28

    oklch(47.8% 0.107 135.7)

  • #656000

    #656000

    oklch(47.8% 0.102 106.1)

  • #006E4F

    #006E4F

    oklch(47.7% 0.1 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #406A28

    #406A28

    oklch(47.8% 0.107 135.7)

  • #585296

    #585296

    oklch(47.7% 0.107 285.6)

  • #86426A

    #86426A

    oklch(47.8% 0.106 345.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406A28

    #406A28

    oklch(47.8% 0.107 135.7)

  • #315E98

    #315E98

    oklch(47.9% 0.106 255.7)

  • #8F4048

    #8F4048

    oklch(47.7% 0.107 15.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406A28

    #406A28

    oklch(47.8% 0.107 135.7)

  • #006784

    #006784

    oklch(47.8% 0.091 225.7)

  • #744885

    #744885

    oklch(47.7% 0.107 316)

  • #8D4723

    #8D4723

    oklch(47.9% 0.107 45.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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