#40512C

Closest named color: Green Brown (#544E03). oklch(41% 0.062 128.9), rgb(64, 81, 44).

Aa

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

About this color

#40512C is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.062 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green Brown (#544E03), ΔE 0.040 away. White text reads best on it, at 8.63:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.062)
Temperaturein between
Nearest nameGreen Brown (#544E03)
Black text2.43:1
White text8.63:1

Values

HEX#40512C
RGBrgb(64, 81, 44)
HSLhsl(88, 30%, 25%)
OKLCHoklch(41% 0.062 128.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 #40512C 8.63:1 AAA Lc -94.1 Preferred for body text
Black text on #40512C 2.43:1 Fails Lc 14.4 Not readable
#40512C text on white 8.63:1 AAA Lc 89.6 Fine for body text
#40512C text on black 2.43:1 Fails Lc -12.6 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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E8EBE4

    oklch(93.6% 0.01 125.7)

  3. Step 200

    200

    #D5DCCE

    oklch(88.5% 0.02 128.7)

  4. Step 300

    300

    #B9C6AD

    oklch(81% 0.037 129.7)

  5. Step 400

    400

    #95A882

    oklch(70.7% 0.058 129.4)

  6. Step 500

    500

    #7C9262

    oklch(63% 0.073 128.3)

  7. Step 600

    600

    #657D49

    oklch(55.7% 0.08 128.9)

  8. Step 700

    700

    #54693A

    oklch(49.1% 0.074 128.5)

  9. Step 800

    800 (this color)

    #40512C

    oklch(41% 0.062 128.9)

  10. Step 900

    900

    #3A472B

    oklch(37.8% 0.048 128.7)

  11. Step 950

    950

    #222919

    oklch(26.9% 0.03 127.5)

Export this scale for Tailwind in the Tailwind colors tool

#40512C 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)#544C290.033
Deuteranopia (no green cones)#524B2E0.034
Tritanopia (no blue cones)#414E480.048
Achromatopsia (no color)#4C4C4C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #40512C

    #40512C

    oklch(41% 0.062 128.9)

  • #544164

    #544164

    oklch(41% 0.062 308.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40512C

    #40512C

    oklch(41% 0.062 128.9)

  • #534B21

    #534B21

    oklch(41.1% 0.061 98.7)

  • #2A553E

    #2A553E

    oklch(41.1% 0.062 158.6)

Open the analogous palette in the generator

Split complementary

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

  • #40512C

    #40512C

    oklch(41% 0.062 128.9)

  • #43476C

    #43476C

    oklch(41.1% 0.062 278.6)

  • #613D56

    #613D56

    oklch(41.1% 0.062 338.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40512C

    #40512C

    oklch(41% 0.062 128.9)

  • #2F4D6B

    #2F4D6B

    oklch(41.1% 0.062 249.6)

  • #673C43

    #673C43

    oklch(41% 0.061 9.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40512C

    #40512C

    oklch(41% 0.062 128.9)

  • #1B5261

    #1B5261

    oklch(41% 0.061 219.3)

  • #544164

    #544164

    oklch(41% 0.062 308.7)

  • #673E31

    #673E31

    oklch(40.9% 0.062 38.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40512C 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.