#1F5E30

Closest named color: Spruce (#0A5F38). oklch(42.9% 0.098 149.2), rgb(31, 94, 48).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.70:1
White text7.77:1

Values

HEX#1F5E30
RGBrgb(31, 94, 48)
HSLhsl(136, 50%, 25%)
OKLCHoklch(42.9% 0.098 149.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 #1F5E30 7.77:1 AAA Lc -91.5 Preferred for body text
Black text on #1F5E30 2.70:1 Fails Lc 17.3 Dividers and decoration only
#1F5E30 text on white 7.77:1 AAA Lc 86.7 Fine for body text
#1F5E30 text on black 2.70:1 Fails Lc -15.4 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CBDFCE

    oklch(88.4% 0.031 149.8)

  4. Step 300

    300

    #A7CCAD

    oklch(81% 0.058 149.6)

  5. Step 400

    400

    #77B181

    oklch(70.7% 0.092 149)

  6. Step 500

    500

    #509D61

    oklch(63.1% 0.118 149.2)

  7. Step 600

    600

    #308748

    oklch(55.5% 0.127 149.4)

  8. Step 700

    700

    #217339

    oklch(49.2% 0.119 149.3)

  9. Step 800

    800 (this color)

    #1F5E30

    oklch(42.9% 0.098 149.2)

  10. Step 900

    900

    #1F4D2A

    oklch(37.8% 0.078 149.2)

  11. Step 950

    950

    #142D19

    oklch(27% 0.048 148.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F5E30 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)#5F562C0.080
Deuteranopia (no green cones)#5750330.080
Tritanopia (no blue cones)#0B5C530.056
Achromatopsia (no color)#5252520.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5E30

    #1F5E30

    oklch(42.9% 0.098 149.2)

  • #6D3A6A

    #6D3A6A

    oklch(43.1% 0.099 329.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5E30

    #1F5E30

    oklch(42.9% 0.098 149.2)

  • #4A5705

    #4A5705

    oklch(43% 0.099 119.4)

  • #005D51

    #005D51

    oklch(42.9% 0.078 180)

Open the analogous palette in the generator

Split complementary

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

  • #1F5E30

    #1F5E30

    oklch(42.9% 0.098 149.2)

  • #58427D

    #58427D

    oklch(43% 0.097 299.5)

  • #79354E

    #79354E

    oklch(42.8% 0.099 359)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5E30

    #1F5E30

    oklch(42.9% 0.098 149.2)

  • #3A4B85

    #3A4B85

    oklch(42.8% 0.098 269.6)

  • #7D372E

    #7D372E

    oklch(42.9% 0.099 29.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5E30

    #1F5E30

    oklch(42.9% 0.098 149.2)

  • #00557F

    #00557F

    oklch(42.8% 0.098 239.8)

  • #6D3A6A

    #6D3A6A

    oklch(43.1% 0.099 329.3)

  • #764005

    #764005

    oklch(42.9% 0.098 59.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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