#405227

Closest named color: Navy Green (#35530A). oklch(41.2% 0.069 127.8), rgb(64, 82, 39).

Aa

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

About this color

#405227 is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.069 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.034 away. White text reads best on it, at 8.55:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.069)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.45:1
White text8.55:1

Values

HEX#405227
RGBrgb(64, 82, 39)
HSLhsl(85, 36%, 24%)
OKLCHoklch(41.2% 0.069 127.8)

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 #405227 8.55:1 AAA Lc -93.9 Preferred for body text
Black text on #405227 2.45:1 Fails Lc 14.6 Not readable
#405227 text on white 8.55:1 AAA Lc 89.4 Fine for body text
#405227 text on black 2.45:1 Fails Lc -12.9 Not readable

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 800.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7EBE3

    oklch(93.5% 0.011 128.6)

  3. Step 200

    200

    #D5DCCD

    oklch(88.5% 0.022 127.4)

  4. Step 300

    300

    #B9C6AA

    oklch(80.9% 0.041 127.7)

  5. Step 400

    400

    #95A97D

    oklch(70.8% 0.066 127.9)

  6. Step 500

    500

    #7B935C

    oklch(63.1% 0.083 127.8)

  7. Step 600

    600

    #647D41

    oklch(55.5% 0.09 127.6)

  8. Step 700

    700

    #536A33

    oklch(49.2% 0.085 127.9)

  9. Step 800

    800 (this color)

    #405227

    oklch(41.2% 0.069 127.8)

  10. Step 900

    900

    #394727

    oklch(37.7% 0.054 128)

  11. Step 950

    950

    #222A17

    oklch(27.1% 0.035 127.2)

Export this scale for Tailwind in the Tailwind colors tool

#405227 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)#564D230.036
Deuteranopia (no green cones)#534C2A0.036
Tritanopia (no blue cones)#424F480.054
Achromatopsia (no color)#4C4C4C0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #405227

    #405227

    oklch(41.2% 0.069 127.8)

  • #554068

    #554068

    oklch(41.1% 0.07 307.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405227

    #405227

    oklch(41.2% 0.069 127.8)

  • #554B19

    #554B19

    oklch(41.2% 0.07 97.9)

  • #25563C

    #25563C

    oklch(41.1% 0.069 158)

Open the analogous palette in the generator

Split complementary

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

  • #405227

    #405227

    oklch(41.2% 0.069 127.8)

  • #424770

    #424770

    oklch(41.2% 0.069 277.6)

  • #633C58

    #633C58

    oklch(41.3% 0.068 337.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405227

    #405227

    oklch(41.2% 0.069 127.8)

  • #2A4E6F

    #2A4E6F

    oklch(41.3% 0.07 247.9)

  • #6B3A44

    #6B3A44

    oklch(41.2% 0.07 7.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405227

    #405227

    oklch(41.2% 0.069 127.8)

  • #0D5464

    #0D5464

    oklch(41.3% 0.069 217.6)

  • #554068

    #554068

    oklch(41.1% 0.07 307.7)

  • #6B3D2F

    #6B3D2F

    oklch(41.3% 0.069 37.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405227 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.