#405C2E

Closest named color: Pine (#2B5D34). oklch(44% 0.078 134.3), rgb(64, 92, 46).

Aa

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

About this color

#405C2E is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.078 and its hue 134°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.023 away. White text reads best on it, at 7.53:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.78:1
White text7.53:1

Values

HEX#405C2E
RGBrgb(64, 92, 46)
HSLhsl(97, 33%, 27%)
OKLCHoklch(44% 0.078 134.3)

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 #405C2E 7.53:1 AAA Lc -90.9 Preferred for body text
Black text on #405C2E 2.78:1 Fails Lc 17.9 Dividers and decoration only
#405C2E text on white 7.53:1 AAA Lc 86.1 Fine for body text
#405C2E text on black 2.78: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D2DDCC

    oklch(88.4% 0.026 134.3)

  4. Step 300

    300

    #B5C8AA

    oklch(81% 0.046 134)

  5. Step 400

    400

    #8EAB7D

    oklch(70.7% 0.072 134.2)

  6. Step 500

    500

    #72965B

    oklch(63.1% 0.093 134)

  7. Step 600

    600

    #5A8041

    oklch(55.6% 0.1 134.2)

  8. Step 700

    700

    #496C32

    oklch(49% 0.095 134.3)

  9. Step 800

    800 (this color)

    #405C2E

    oklch(44% 0.078 134.3)

  10. Step 900

    900

    #344927

    oklch(37.8% 0.061 134.4)

  11. Step 950

    950

    #1E2B17

    oklch(27.1% 0.04 135.2)

Export this scale for Tailwind in the Tailwind colors tool

#405C2E 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)#5F562A0.048
Deuteranopia (no green cones)#5B54310.047
Tritanopia (no blue cones)#4059510.056
Achromatopsia (no color)#5454540.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #405C2E

    #405C2E

    oklch(44% 0.078 134.3)

  • #624571

    #624571

    oklch(44% 0.078 313.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405C2E

    #405C2E

    oklch(44% 0.078 134.3)

  • #5A551A

    #5A551A

    oklch(44.2% 0.079 104.5)

  • #1F6047

    #1F6047

    oklch(44% 0.078 164.1)

Open the analogous palette in the generator

Split complementary

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

  • #405C2E

    #405C2E

    oklch(44% 0.078 134.3)

  • #4E4C7C

    #4E4C7C

    oklch(44% 0.078 284.6)

  • #71405D

    #71405D

    oklch(44% 0.079 344.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405C2E

    #405C2E

    oklch(44% 0.078 134.3)

  • #33547D

    #33547D

    oklch(44% 0.078 254.6)

  • #783F45

    #783F45

    oklch(44% 0.079 14.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405C2E

    #405C2E

    oklch(44% 0.078 134.3)

  • #0E5B73

    #0E5B73

    oklch(44% 0.079 225.1)

  • #624571

    #624571

    oklch(44% 0.078 313.6)

  • #76442D

    #76442D

    oklch(44.1% 0.078 44.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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