#405C2F

Closest named color: Pine (#2B5D34). oklch(44% 0.077 134.6), rgb(64, 92, 47).

Aa

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

About this color

#405C2F is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.077 and its hue 135°. 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.52:1.

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

Values

HEX#405C2F
RGBrgb(64, 92, 47)
HSLhsl(97, 32%, 27%)
OKLCHoklch(44% 0.077 134.6)

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

    #D2DDCD

    oklch(88.5% 0.025 135.7)

  4. Step 300

    300

    #B5C8AB

    oklch(81% 0.045 134.7)

  5. Step 400

    400

    #8EAB7E

    oklch(70.7% 0.071 134.7)

  6. Step 500

    500

    #72965C

    oklch(63.1% 0.092 134.3)

  7. Step 600

    600

    #5A8042

    oklch(55.6% 0.099 134.4)

  8. Step 700

    700

    #496C34

    oklch(49% 0.092 134.9)

  9. Step 800

    800 (this color)

    #405C2F

    oklch(44% 0.077 134.6)

  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

#405C2F 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)#5F562B0.047
Deuteranopia (no green cones)#5B54320.047
Tritanopia (no blue cones)#4059510.055
Achromatopsia (no color)#5454540.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #405C2F

    #405C2F

    oklch(44% 0.077 134.6)

  • #624570

    #624570

    oklch(44% 0.077 314.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405C2F

    #405C2F

    oklch(44% 0.077 134.6)

  • #59551C

    #59551C

    oklch(44.1% 0.077 105.3)

  • #206048

    #206048

    oklch(44.1% 0.077 164.9)

Open the analogous palette in the generator

Split complementary

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

  • #405C2F

    #405C2F

    oklch(44% 0.077 134.6)

  • #4E4C7B

    #4E4C7B

    oklch(44% 0.076 284.7)

  • #70415D

    #70415D

    oklch(44.1% 0.076 344.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405C2F

    #405C2F

    oklch(44% 0.077 134.6)

  • #34547C

    #34547C

    oklch(44% 0.076 254.7)

  • #774045

    #774045

    oklch(44.1% 0.076 14.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405C2F

    #405C2F

    oklch(44% 0.077 134.6)

  • #125B72

    #125B72

    oklch(44% 0.077 224.6)

  • #624570

    #624570

    oklch(44% 0.077 314.3)

  • #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 #405C2F, closest first.

Similar named colors

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

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