#40512F

Closest named color: Pine (#2B5D34). oklch(41.1% 0.058 130.2), rgb(64, 81, 47).

Aa

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

About this color

#40512F is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.058 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.058)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.43:1
White text8.62:1

Values

HEX#40512F
RGBrgb(64, 81, 47)
HSLhsl(90, 27%, 25%)
OKLCHoklch(41.1% 0.058 130.2)

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

    #B9C5AF

    oklch(80.8% 0.033 130.7)

  5. Step 400

    400

    #95A885

    oklch(70.7% 0.054 130.9)

  6. Step 500

    500

    #7B9266

    oklch(63% 0.069 130.6)

  7. Step 600

    600

    #647C4D

    oklch(55.5% 0.075 130.5)

  8. Step 700

    700

    #53693E

    oklch(49.1% 0.07 130.7)

  9. Step 800

    800 (this color)

    #40512F

    oklch(41.1% 0.058 130.2)

  10. Step 900

    900

    #3A472D

    oklch(37.9% 0.045 129.9)

  11. Step 950

    950

    #22291B

    oklch(26.9% 0.027 129.6)

Export this scale for Tailwind in the Tailwind colors tool

#40512F 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)#544D2D0.032
Deuteranopia (no green cones)#514B310.033
Tritanopia (no blue cones)#414E490.045
Achromatopsia (no color)#4C4C4C0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #40512F

    #40512F

    oklch(41.1% 0.058 130.2)

  • #544262

    #544262

    oklch(41.1% 0.057 309.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40512F

    #40512F

    oklch(41.1% 0.058 130.2)

  • #524B24

    #524B24

    oklch(41% 0.058 99.3)

  • #2C5440

    #2C5440

    oklch(41% 0.057 160.7)

Open the analogous palette in the generator

Split complementary

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

  • #40512F

    #40512F

    oklch(41.1% 0.058 130.2)

  • #44476A

    #44476A

    oklch(41.1% 0.059 279.7)

  • #603E54

    #603E54

    oklch(41.1% 0.058 340.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40512F

    #40512F

    oklch(41.1% 0.058 130.2)

  • #324D69

    #324D69

    oklch(41.1% 0.058 250.2)

  • #663D43

    #663D43

    oklch(41.1% 0.058 10.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40512F

    #40512F

    oklch(41.1% 0.058 130.2)

  • #215260

    #215260

    oklch(41.1% 0.057 219.5)

  • #544262

    #544262

    oklch(41.1% 0.057 309.7)

  • #664032

    #664032

    oklch(41.2% 0.058 41)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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