#406C2F

Closest named color: Dark Olive Green (#556B2F). oklch(48.4% 0.103 137.7), rgb(64, 108, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.40:1
White text6.16:1

Values

HEX#406C2F
RGBrgb(64, 108, 47)
HSLhsl(103, 39%, 30%)
OKLCHoklch(48.4% 0.103 137.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 #406C2F 6.16:1 AA Lc -85.8 Fine for body text
Black text on #406C2F 3.40:1 AA large text Lc 23.4 Dividers and decoration only
#406C2F text on white 6.16:1 AA Lc 80.6 Fine for body text
#406C2F text on black 3.40:1 AA large text Lc -21.2 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

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #D1DECC

    oklch(88.6% 0.028 136.9)

  4. Step 300

    300

    #B1C9AA

    oklch(80.9% 0.05 138.6)

  5. Step 400

    400

    #88AD7C

    oklch(70.7% 0.08 138.1)

  6. Step 500

    500

    #6A985A

    oklch(63.1% 0.102 137.9)

  7. Step 600

    600

    #52823F

    oklch(55.6% 0.11 137.5)

  8. Step 700

    700 (this color)

    #406C2F

    oklch(48.4% 0.103 137.7)

  9. Step 800

    800

    #375A29

    oklch(42.8% 0.086 137.5)

  10. Step 900

    900

    #304A26

    oklch(37.8% 0.066 137.5)

  11. Step 950

    950

    #1C2B17

    oklch(26.9% 0.041 138.1)

Export this scale for Tailwind in the Tailwind colors tool

#406C2F 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)#6F64290.067
Deuteranopia (no green cones)#6960330.067
Tritanopia (no blue cones)#3E685E0.072
Achromatopsia (no color)#6161610.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #406C2F

    #406C2F

    oklch(48.4% 0.103 137.7)

  • #764A84

    #764A84

    oklch(48.2% 0.103 317.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406C2F

    #406C2F

    oklch(48.4% 0.103 137.7)

  • #656203

    #656203

    oklch(48.3% 0.103 107.6)

  • #007054

    #007054

    oklch(48.4% 0.098 168)

Open the analogous palette in the generator

Split complementary

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

  • #406C2F

    #406C2F

    oklch(48.4% 0.103 137.7)

  • #5C5495

    #5C5495

    oklch(48.4% 0.102 287.6)

  • #884469

    #884469

    oklch(48.4% 0.103 347.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406C2F

    #406C2F

    oklch(48.4% 0.103 137.7)

  • #375F98

    #375F98

    oklch(48.4% 0.103 257.4)

  • #904449

    #904449

    oklch(48.5% 0.103 17.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406C2F

    #406C2F

    oklch(48.4% 0.103 137.7)

  • #006888

    #006888

    oklch(48.3% 0.094 228)

  • #764A84

    #764A84

    oklch(48.2% 0.103 317.7)

  • #8D4A25

    #8D4A25

    oklch(48.4% 0.104 47.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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