#40502F

Closest named color: Green Brown (#544E03). oklch(40.8% 0.056 129.6), rgb(64, 80, 47).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (41%)
Chromamuted (0.056)
Temperaturein between
Nearest nameGreen Brown (#544E03)
Black text2.40:1
White text8.72:1

Values

HEX#40502F
RGBrgb(64, 80, 47)
HSLhsl(89, 26%, 25%)
OKLCHoklch(40.8% 0.056 129.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 #40502F 8.72:1 AAA Lc -94.4 Preferred for body text
Black text on #40502F 2.40:1 Fails Lc 14.1 Not readable
#40502F text on white 8.72:1 AAA Lc 89.9 Fine for body text
#40502F text on black 2.40:1 Fails Lc -12.4 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

    #E8EBE5

    oklch(93.6% 0.009 128.6)

  3. Step 200

    200

    #D5DCCF

    oklch(88.5% 0.019 130.2)

  4. Step 300

    300

    #BAC5AF

    oklch(80.9% 0.033 128.9)

  5. Step 400

    400

    #96A885

    oklch(70.8% 0.053 129.9)

  6. Step 500

    500

    #7C9267

    oklch(63.1% 0.067 130.2)

  7. Step 600

    600

    #657C4E

    oklch(55.6% 0.073 130.1)

  8. Step 700

    700

    #54683F

    oklch(49% 0.066 129.7)

  9. Step 800

    800 (this color)

    #40502F

    oklch(40.8% 0.056 129.6)

  10. Step 900

    900

    #3A462D

    oklch(37.6% 0.044 129.1)

  11. Step 950

    950

    #22291B

    oklch(26.9% 0.027 129.6)

Export this scale for Tailwind in the Tailwind colors tool

#40502F 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)#534C2D0.031
Deuteranopia (no green cones)#514B310.031
Tritanopia (no blue cones)#414D480.044
Achromatopsia (no color)#4B4B4B0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #40502F

    #40502F

    oklch(40.8% 0.056 129.6)

  • #534161

    #534161

    oklch(40.7% 0.057 309.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40502F

    #40502F

    oklch(40.8% 0.056 129.6)

  • #514B25

    #514B25

    oklch(40.9% 0.057 100.5)

  • #2D533F

    #2D533F

    oklch(40.7% 0.056 159.6)

Open the analogous palette in the generator

Split complementary

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

  • #40502F

    #40502F

    oklch(40.8% 0.056 129.6)

  • #444768

    #444768

    oklch(41% 0.055 279.6)

  • #5E3E54

    #5E3E54

    oklch(40.8% 0.056 338.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40502F

    #40502F

    oklch(40.8% 0.056 129.6)

  • #324C67

    #324C67

    oklch(40.8% 0.056 250.2)

  • #643D43

    #643D43

    oklch(40.8% 0.055 9.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40502F

    #40502F

    oklch(40.8% 0.056 129.6)

  • #21515F

    #21515F

    oklch(40.8% 0.056 219.9)

  • #534161

    #534161

    oklch(40.7% 0.057 309.7)

  • #643F33

    #643F33

    oklch(40.8% 0.056 38.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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