#40523E

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.04 142.2), rgb(64, 82, 62).

Aa

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

About this color

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

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

Values

HEX#40523E
RGBrgb(64, 82, 62)
HSLhsl(114, 14%, 28%)
OKLCHoklch(41.7% 0.04 142.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 #40523E 8.41:1 AAA Lc -93.6 Preferred for body text
Black text on #40523E 2.49:1 Fails Lc 15.0 Not readable
#40523E text on white 8.41:1 AAA Lc 89.0 Fine for body text
#40523E 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

    #D4DBD4

    oklch(88.4% 0.012 145.5)

  4. Step 300

    300

    #B8C5B7

    oklch(80.9% 0.024 143.3)

  5. Step 400

    400

    #94A792

    oklch(70.8% 0.037 142.5)

  6. Step 500

    500

    #799177

    oklch(63% 0.047 143)

  7. Step 600

    600

    #627B5F

    oklch(55.5% 0.052 142.1)

  8. Step 700

    700

    #51684F

    oklch(49.1% 0.048 142.8)

  9. Step 800

    800 (this color)

    #40523E

    oklch(41.7% 0.04 142.2)

  10. Step 900

    900

    #384637

    oklch(37.7% 0.031 143.2)

  11. Step 950

    950

    #212920

    oklch(27% 0.02 142)

Export this scale for Tailwind in the Tailwind colors tool

#40523E 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)#534E3D0.031
Deuteranopia (no green cones)#504D3F0.029
Tritanopia (no blue cones)#3F514C0.024
Achromatopsia (no color)#4D4D4D0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #40523E

    #40523E

    oklch(41.7% 0.04 142.2)

  • #574559

    #574559

    oklch(41.7% 0.04 323)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40523E

    #40523E

    oklch(41.7% 0.04 142.2)

  • #4C4F35

    #4C4F35

    oklch(41.7% 0.041 113.5)

  • #35544A

    #35544A

    oklch(41.8% 0.041 172)

Open the analogous palette in the generator

Split complementary

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

  • #40523E

    #40523E

    oklch(41.7% 0.04 142.2)

  • #4D4960

    #4D4960

    oklch(41.8% 0.038 292.6)

  • #5E434E

    #5E434E

    oklch(41.6% 0.041 352.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40523E

    #40523E

    oklch(41.7% 0.04 142.2)

  • #414D62

    #414D62

    oklch(41.8% 0.038 261.5)

  • #604442

    #604442

    oklch(41.7% 0.039 23.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40523E

    #40523E

    oklch(41.7% 0.04 142.2)

  • #36505E

    #36505E

    oklch(41.6% 0.039 232.5)

  • #574559

    #574559

    oklch(41.7% 0.04 323)

  • #5E4638

    #5E4638

    oklch(41.6% 0.04 51.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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