#40523D

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.041 141.1), rgb(64, 82, 61).

Aa

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

About this color

#40523D is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.041 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.039 away. White text reads best on it, at 8.42:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.041)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.49:1
White text8.42:1

Values

HEX#40523D
RGBrgb(64, 82, 61)
HSLhsl(111, 15%, 28%)
OKLCHoklch(41.7% 0.041 141.1)

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 #40523D 8.42:1 AAA Lc -93.6 Preferred for body text
Black text on #40523D 2.49:1 Fails Lc 15.0 Not readable
#40523D text on white 8.42:1 AAA Lc 89.0 Fine for body text
#40523D text on black 2.49:1 Fails Lc -13.2 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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D4DBD3

    oklch(88.4% 0.013 141.8)

  4. Step 300

    300

    #B8C5B6

    oklch(80.9% 0.025 141.5)

  5. Step 400

    400

    #94A791

    oklch(70.7% 0.038 141.4)

  6. Step 500

    500

    #7A9176

    oklch(63.1% 0.048 141)

  7. Step 600

    600

    #627B5E

    oklch(55.5% 0.053 141.2)

  8. Step 700

    700

    #51684E

    oklch(49.1% 0.049 141.8)

  9. Step 800

    800 (this color)

    #40523D

    oklch(41.7% 0.041 141.1)

  10. Step 900

    900

    #384636

    oklch(37.7% 0.032 141.6)

  11. Step 950

    950

    #212920

    oklch(27% 0.02 142)

Export this scale for Tailwind in the Tailwind colors tool

#40523D 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)#534E3C0.031
Deuteranopia (no green cones)#504D3E0.029
Tritanopia (no blue cones)#3F514C0.025
Achromatopsia (no color)#4D4D4D0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40523D

    #40523D

    oklch(41.7% 0.041 141.1)

  • #57455A

    #57455A

    oklch(41.7% 0.041 321.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40523D

    #40523D

    oklch(41.7% 0.041 141.1)

  • #4D4F34

    #4D4F34

    oklch(41.8% 0.042 111.6)

  • #355449

    #355449

    oklch(41.8% 0.041 170)

Open the analogous palette in the generator

Split complementary

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

  • #40523D

    #40523D

    oklch(41.7% 0.041 141.1)

  • #4C4861

    #4C4861

    oklch(41.6% 0.042 291.8)

  • #5E434F

    #5E434F

    oklch(41.7% 0.041 350.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40523D

    #40523D

    oklch(41.7% 0.041 141.1)

  • #404D63

    #404D63

    oklch(41.8% 0.041 260.8)

  • #614342

    #614342

    oklch(41.6% 0.042 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40523D

    #40523D

    oklch(41.7% 0.041 141.1)

  • #35505F

    #35505F

    oklch(41.6% 0.041 233.4)

  • #57455A

    #57455A

    oklch(41.7% 0.041 321.5)

  • #5F4638

    #5F4638

    oklch(41.7% 0.041 50.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40523D 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.