#405B42

Closest named color: Pine (#2B5D34). oklch(44.2% 0.052 146.5), rgb(64, 91, 66).

Aa

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

About this color

#405B42 is a dark, muted green. In OKLCH its lightness is 44%, its chroma 0.052 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.036 away. White text reads best on it, at 7.51:1.

Hue familyGreens
Lightnessdark (44%)
Chromamuted (0.052)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.79:1
White text7.51:1

Values

HEX#405B42
RGBrgb(64, 91, 66)
HSLhsl(124, 17%, 30%)
OKLCHoklch(44.2% 0.052 146.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 #405B42 7.51:1 AAA Lc -90.9 Preferred for body text
Black text on #405B42 2.79:1 Fails Lc 17.9 Dividers and decoration only
#405B42 text on white 7.51:1 AAA Lc 86.1 Fine for body text
#405B42 text on black 2.79:1 Fails Lc -16.0 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 800.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E6EBE6

    oklch(93.5% 0.009 145.5)

  3. Step 200

    200

    #D2DCD3

    oklch(88.4% 0.016 148.4)

  4. Step 300

    300

    #B5C6B5

    oklch(80.9% 0.03 145.3)

  5. Step 400

    400

    #8EA98F

    oklch(70.7% 0.048 146)

  6. Step 500

    500

    #719473

    oklch(63.1% 0.063 146.3)

  7. Step 600

    600

    #597E5C

    oklch(55.5% 0.067 146.6)

  8. Step 700

    700

    #496B4B

    oklch(49.2% 0.064 146)

  9. Step 800

    800 (this color)

    #405B42

    oklch(44.2% 0.052 146.5)

  10. Step 900

    900

    #334835

    oklch(37.8% 0.042 147.1)

  11. Step 950

    950

    #1E2A1F

    oklch(27% 0.026 147)

Export this scale for Tailwind in the Tailwind colors tool

#405B42 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)#5C56410.043
Deuteranopia (no green cones)#5853430.042
Tritanopia (no blue cones)#3D5A540.030
Achromatopsia (no color)#5454540.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #405B42

    #405B42

    oklch(44.2% 0.052 146.5)

  • #624962

    #624962

    oklch(44.1% 0.051 326.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405B42

    #405B42

    oklch(44.2% 0.052 146.5)

  • #515735

    #515735

    oklch(44.2% 0.052 116.8)

  • #315D52

    #315D52

    oklch(44.3% 0.053 175.7)

Open the analogous palette in the generator

Split complementary

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

  • #405B42

    #405B42

    oklch(44.2% 0.052 146.5)

  • #564D6D

    #564D6D

    oklch(44.2% 0.053 297.1)

  • #6B4754

    #6B4754

    oklch(44.3% 0.053 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405B42

    #405B42

    oklch(44.2% 0.052 146.5)

  • #465270

    #465270

    oklch(44.1% 0.052 267.4)

  • #6D4844

    #6D4844

    oklch(44.2% 0.052 26.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405B42

    #405B42

    oklch(44.2% 0.052 146.5)

  • #36586C

    #36586C

    oklch(44.3% 0.051 235.4)

  • #624962

    #624962

    oklch(44.1% 0.051 326.4)

  • #694C36

    #694C36

    oklch(44.2% 0.052 58.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405B42 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.