#405C2D

Closest named color: Pine (#2B5D34). oklch(44% 0.079 133.9), rgb(64, 92, 45).

Aa

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

About this color

#405C2D is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.079 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.079)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.78:1
White text7.53:1

Values

HEX#405C2D
RGBrgb(64, 92, 45)
HSLhsl(96, 34%, 27%)
OKLCHoklch(44% 0.079 133.9)

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

    #8EAB7C

    oklch(70.7% 0.074 133.8)

  6. Step 500

    500

    #72965A

    oklch(63.1% 0.094 133.7)

  7. Step 600

    600

    #5A803F

    oklch(55.5% 0.103 133.7)

  8. Step 700

    700

    #496C31

    oklch(49% 0.096 134.1)

  9. Step 800

    800 (this color)

    #405C2D

    oklch(44% 0.079 133.9)

  10. Step 900

    900

    #344926

    oklch(37.8% 0.062 133.8)

  11. Step 950

    950

    #1E2B17

    oklch(27.1% 0.04 135.2)

Export this scale for Tailwind in the Tailwind colors tool

#405C2D 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)#5F56290.048
Deuteranopia (no green cones)#5B54300.047
Tritanopia (no blue cones)#4059510.058
Achromatopsia (no color)#5454540.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #405C2D

    #405C2D

    oklch(44% 0.079 133.9)

  • #624571

    #624571

    oklch(44% 0.078 313.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405C2D

    #405C2D

    oklch(44% 0.079 133.9)

  • #5A5419

    #5A5419

    oklch(43.9% 0.078 103.5)

  • #1E6047

    #1E6047

    oklch(44% 0.078 164.3)

Open the analogous palette in the generator

Split complementary

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

  • #405C2D

    #405C2D

    oklch(44% 0.079 133.9)

  • #4D4C7D

    #4D4C7D

    oklch(44% 0.08 283.6)

  • #71405D

    #71405D

    oklch(44% 0.079 344.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405C2D

    #405C2D

    oklch(44% 0.079 133.9)

  • #32547D

    #32547D

    oklch(44% 0.079 254)

  • #783F45

    #783F45

    oklch(44% 0.079 14.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405C2D

    #405C2D

    oklch(44% 0.079 133.9)

  • #0A5B73

    #0A5B73

    oklch(43.9% 0.08 224.7)

  • #624571

    #624571

    oklch(44% 0.078 313.6)

  • #77432D

    #77432D

    oklch(44.1% 0.08 43.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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