#40502B

Closest named color: Green Brown (#544E03). oklch(40.7% 0.061 128), rgb(64, 80, 43).

Aa

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

About this color

#40502B is a dark, muted green. In OKLCH its lightness is 41%, its chroma 0.061 and its hue 128°. 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.74:1.

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

Values

HEX#40502B
RGBrgb(64, 80, 43)
HSLhsl(86, 30%, 24%)
OKLCHoklch(40.7% 0.061 128)

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 #40502B 8.74:1 AAA Lc -94.4 Preferred for body text
Black text on #40502B 2.40:1 Fails Lc 14.0 Not readable
#40502B text on white 8.74:1 AAA Lc 89.9 Fine for body text
#40502B text on black 2.40:1 Fails Lc -12.3 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

    #BAC5AD

    oklch(80.8% 0.035 127.3)

  5. Step 400

    400

    #96A882

    oklch(70.7% 0.057 128.4)

  6. Step 500

    500

    #7D9262

    oklch(63.1% 0.073 127.6)

  7. Step 600

    600

    #667C49

    oklch(55.6% 0.078 127.8)

  8. Step 700

    700

    #54693A

    oklch(49.1% 0.074 128.5)

  9. Step 800

    800 (this color)

    #40502B

    oklch(40.7% 0.061 128)

  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

#40502B 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)#534C280.031
Deuteranopia (no green cones)#514B2D0.031
Tritanopia (no blue cones)#424D470.048
Achromatopsia (no color)#4B4B4B0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #40502B

    #40502B

    oklch(40.7% 0.061 128)

  • #534163

    #534163

    oklch(40.8% 0.06 308.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40502B

    #40502B

    oklch(40.7% 0.061 128)

  • #524A20

    #524A20

    oklch(40.7% 0.061 98.7)

  • #2A543D

    #2A543D

    oklch(40.8% 0.062 158.1)

Open the analogous palette in the generator

Split complementary

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

  • #40502B

    #40502B

    oklch(40.7% 0.061 128)

  • #42466B

    #42466B

    oklch(40.7% 0.062 278.5)

  • #5F3C55

    #5F3C55

    oklch(40.6% 0.062 337.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40502B

    #40502B

    oklch(40.7% 0.061 128)

  • #2E4C69

    #2E4C69

    oklch(40.6% 0.061 248.7)

  • #663B43

    #663B43

    oklch(40.7% 0.061 8.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40502B

    #40502B

    oklch(40.7% 0.061 128)

  • #1A5260

    #1A5260

    oklch(40.9% 0.061 217.7)

  • #534163

    #534163

    oklch(40.8% 0.06 308.1)

  • #663E31

    #663E31

    oklch(40.8% 0.06 38.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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