#1F5C17

Closest named color: Deep Green (#02590F). oklch(42% 0.119 141.4), rgb(31, 92, 23).

Aa

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

About this color

#1F5C17 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.119 and its hue 141°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.020 away. White text reads best on it, at 8.07:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.60:1
White text8.07:1

Values

HEX#1F5C17
RGBrgb(31, 92, 23)
HSLhsl(113, 60%, 23%)
OKLCHoklch(42% 0.119 141.4)

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 #1F5C17 8.07:1 AAA Lc -92.3 Preferred for body text
Black text on #1F5C17 2.60:1 Fails Lc 16.4 Dividers and decoration only
#1F5C17 text on white 8.07:1 AAA Lc 87.6 Fine for body text
#1F5C17 text on black 2.60:1 Fails Lc -14.5 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CCE0C8

    oklch(88.5% 0.039 140.5)

  4. Step 300

    300

    #A8CCA3

    oklch(80.8% 0.069 141.7)

  5. Step 400

    400

    #78B270

    oklch(70.7% 0.111 141.5)

  6. Step 500

    500

    #539E49

    oklch(63.1% 0.142 141.4)

  7. Step 600

    600

    #348829

    oklch(55.5% 0.154 141.4)

  8. Step 700

    700

    #26731B

    oklch(49% 0.143 141.3)

  9. Step 800

    800 (this color)

    #1F5C17

    oklch(42% 0.119 141.4)

  10. Step 900

    900

    #214D1C

    oklch(37.6% 0.092 141.7)

  11. Step 950

    950

    #142D11

    oklch(26.9% 0.058 141.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F5C17 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)#5E530C0.082
Deuteranopia (no green cones)#574E1E0.083
Tritanopia (no blue cones)#15594E0.077
Achromatopsia (no color)#5050500.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5C17

    #1F5C17

    oklch(42% 0.119 141.4)

  • #6A3373

    #6A3373

    oklch(42% 0.119 321.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5C17

    #1F5C17

    oklch(42% 0.119 141.4)

  • #4F5100

    #4F5100

    oklch(41.9% 0.092 111.4)

  • #005B47

    #005B47

    oklch(41.9% 0.082 171.2)

Open the analogous palette in the generator

Split complementary

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

  • #1F5C17

    #1F5C17

    oklch(42% 0.119 141.4)

  • #4F3E88

    #4F3E88

    oklch(42.1% 0.119 291)

  • #7B2C54

    #7B2C54

    oklch(42.1% 0.119 352)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5C17

    #1F5C17

    oklch(42% 0.119 141.4)

  • #264A8D

    #264A8D

    oklch(42% 0.119 261.5)

  • #812B2F

    #812B2F

    oklch(41.9% 0.119 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5C17

    #1F5C17

    oklch(42% 0.119 141.4)

  • #005473

    #005473

    oklch(41.9% 0.085 232)

  • #6A3373

    #6A3373

    oklch(42% 0.119 321.8)

  • #7A3800

    #7A3800

    oklch(42.1% 0.109 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 #1F5C17, closest first.

Similar named colors

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

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