#1F5E2D

Closest named color: Spruce (#0A5F38). oklch(42.9% 0.102 147.9), rgb(31, 94, 45).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.69:1
White text7.78:1

Values

HEX#1F5E2D
RGBrgb(31, 94, 45)
HSLhsl(133, 50%, 25%)
OKLCHoklch(42.9% 0.102 147.9)

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 #1F5E2D 7.78:1 AAA Lc -91.5 Preferred for body text
Black text on #1F5E2D 2.69:1 Fails Lc 17.3 Dividers and decoration only
#1F5E2D text on white 7.78:1 AAA Lc 86.7 Fine for body text
#1F5E2D text on black 2.69: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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CBE0CD

    oklch(88.6% 0.034 148)

  4. Step 300

    300

    #A7CCAB

    oklch(80.9% 0.061 148)

  5. Step 400

    400

    #77B17F

    oklch(70.7% 0.094 148)

  6. Step 500

    500

    #509D5E

    oklch(63% 0.121 148.1)

  7. Step 600

    600

    #308844

    oklch(55.7% 0.132 148)

  8. Step 700

    700

    #217335

    oklch(49.1% 0.123 147.9)

  9. Step 800

    800 (this color)

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  10. Step 900

    900

    #204D28

    oklch(37.8% 0.08 147.6)

  11. Step 950

    950

    #142D18

    oklch(27% 0.05 147.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F5E2D 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)#5F56290.081
Deuteranopia (no green cones)#5750300.080
Tritanopia (no blue cones)#0D5C520.058
Achromatopsia (no color)#5252520.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5E2D

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  • #6C396B

    #6C396B

    oklch(42.8% 0.101 327.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5E2D

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  • #4B5600

    #4B5600

    oklch(42.8% 0.1 117.9)

  • #005D4F

    #005D4F

    oklch(42.8% 0.079 177.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F5E2D

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  • #57417F

    #57417F

    oklch(42.8% 0.102 298.4)

  • #7A344F

    #7A344F

    oklch(42.9% 0.102 358.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5E2D

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  • #374B87

    #374B87

    oklch(42.8% 0.103 268)

  • #7E362F

    #7E362F

    oklch(42.9% 0.102 27.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5E2D

    #1F5E2D

    oklch(42.9% 0.102 147.9)

  • #00567D

    #00567D

    oklch(43% 0.095 237.6)

  • #6C396B

    #6C396B

    oklch(42.8% 0.101 327.9)

  • #773E02

    #773E02

    oklch(42.7% 0.101 57.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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