#1D5F40

Closest named color: Spruce (#0A5F38). oklch(43.5% 0.084 159.1), rgb(29, 95, 64).

Aa

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

About this color

#1D5F40 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.084 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.017 away. White text reads best on it, at 7.59:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.76:1
White text7.59:1

Values

HEX#1D5F40
RGBrgb(29, 95, 64)
HSLhsl(152, 53%, 24%)
OKLCHoklch(43.5% 0.084 159.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 #1D5F40 7.59:1 AAA Lc -90.9 Preferred for body text
Black text on #1D5F40 2.76:1 Fails Lc 17.9 Dividers and decoration only
#1D5F40 text on white 7.59:1 AAA Lc 86.1 Fine for body text
#1D5F40 text on black 2.76:1 Fails Lc -15.9 Dividers and decoration only

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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A6CBB5

    oklch(80.9% 0.05 159)

  5. Step 400

    400

    #75B08F

    oklch(70.7% 0.079 159.1)

  6. Step 500

    500

    #4D9C73

    oklch(63.1% 0.101 158.9)

  7. Step 600

    600

    #2A865C

    oklch(55.5% 0.108 159.5)

  8. Step 700

    700

    #1B724B

    oklch(49.2% 0.102 158.9)

  9. Step 800

    800 (this color)

    #1D5F40

    oklch(43.5% 0.084 159.1)

  10. Step 900

    900

    #1D4C35

    oklch(37.7% 0.065 159.5)

  11. Step 950

    950

    #122D1F

    oklch(27.1% 0.043 159.1)

Export this scale for Tailwind in the Tailwind colors tool

#1D5F40 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)#5E583E0.078
Deuteranopia (no green cones)#5551420.077
Tritanopia (no blue cones)#005E570.038
Achromatopsia (no color)#5454540.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D5F40

    #1D5F40

    oklch(43.5% 0.084 159.1)

  • #6F3E60

    #6F3E60

    oklch(43.6% 0.083 339.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D5F40

    #1D5F40

    oklch(43.5% 0.084 159.1)

  • #425A24

    #425A24

    oklch(43.5% 0.085 129.3)

  • #005E5A

    #005E5A

    oklch(43.5% 0.075 189.7)

Open the analogous palette in the generator

Split complementary

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

  • #1D5F40

    #1D5F40

    oklch(43.5% 0.084 159.1)

  • #5F4374

    #5F4374

    oklch(43.5% 0.085 309.5)

  • #783C47

    #783C47

    oklch(43.6% 0.084 9.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D5F40

    #1D5F40

    oklch(43.5% 0.084 159.1)

  • #484B7F

    #484B7F

    oklch(43.5% 0.085 279.7)

  • #783F2C

    #783F2C

    oklch(43.5% 0.085 39.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D5F40

    #1D5F40

    oklch(43.5% 0.084 159.1)

  • #28547D

    #28547D

    oklch(43.5% 0.084 248.9)

  • #6F3E60

    #6F3E60

    oklch(43.6% 0.083 339.5)

  • #6F4813

    #6F4813

    oklch(43.6% 0.085 69.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1D5F40 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.