#40512E

Closest named color: Pine (#2B5D34). oklch(41.1% 0.059 129.8), rgb(64, 81, 46).

Aa

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

About this color

#40512E is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.059 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.041 away. White text reads best on it, at 8.62:1.

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.059)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.43:1
White text8.62:1

Values

HEX#40512E
RGBrgb(64, 81, 46)
HSLhsl(89, 28%, 25%)
OKLCHoklch(41.1% 0.059 129.8)

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 #40512E 8.62:1 AAA Lc -94.1 Preferred for body text
Black text on #40512E 2.43:1 Fails Lc 14.4 Not readable
#40512E text on white 8.62:1 AAA Lc 89.6 Fine for body text
#40512E text on black 2.43:1 Fails Lc -12.7 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

    #D5DCCF

    oklch(88.5% 0.019 130.2)

  4. Step 300

    300

    #B9C5AE

    oklch(80.8% 0.034 129.8)

  5. Step 400

    400

    #95A884

    oklch(70.7% 0.055 130.4)

  6. Step 500

    500

    #7C9265

    oklch(63.1% 0.069 129.4)

  7. Step 600

    600

    #657C4C

    oklch(55.5% 0.075 129.4)

  8. Step 700

    700

    #53693D

    oklch(49.1% 0.071 130.3)

  9. Step 800

    800 (this color)

    #40512E

    oklch(41.1% 0.059 129.8)

  10. Step 900

    900

    #3A472C

    oklch(37.8% 0.047 129.3)

  11. Step 950

    950

    #22291A

    oklch(26.9% 0.028 128.5)

Export this scale for Tailwind in the Tailwind colors tool

#40512E 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)#544D2B0.032
Deuteranopia (no green cones)#524B300.034
Tritanopia (no blue cones)#414E480.045
Achromatopsia (no color)#4C4C4C0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #40512E

    #40512E

    oklch(41.1% 0.059 129.8)

  • #544163

    #544163

    oklch(41% 0.06 309.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40512E

    #40512E

    oklch(41.1% 0.059 129.8)

  • #524B23

    #524B23

    oklch(41% 0.059 99.6)

  • #2B543F

    #2B543F

    oklch(40.9% 0.059 159.9)

Open the analogous palette in the generator

Split complementary

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

  • #40512E

    #40512E

    oklch(41.1% 0.059 129.8)

  • #44476A

    #44476A

    oklch(41.1% 0.059 279.7)

  • #603E55

    #603E55

    oklch(41.1% 0.059 339.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40512E

    #40512E

    oklch(41.1% 0.059 129.8)

  • #314D69

    #314D69

    oklch(41.1% 0.058 249.4)

  • #663D43

    #663D43

    oklch(41.1% 0.058 10.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40512E

    #40512E

    oklch(41.1% 0.059 129.8)

  • #1F5261

    #1F5261

    oklch(41.1% 0.059 220.4)

  • #544163

    #544163

    oklch(41% 0.06 309.4)

  • #663F32

    #663F32

    oklch(41% 0.059 39.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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