#1F5F2C

Closest named color: Spruce (#0A5F38). oklch(43.1% 0.104 147.3), rgb(31, 95, 44).

Aa

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

About this color

#1F5F2C is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.104 and its hue 147°. 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.68:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.73:1
White text7.68:1

Values

HEX#1F5F2C
RGBrgb(31, 95, 44)
HSLhsl(132, 51%, 25%)
OKLCHoklch(43.1% 0.104 147.3)

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 #1F5F2C 7.68:1 AAA Lc -91.2 Preferred for body text
Black text on #1F5F2C 2.73:1 Fails Lc 17.6 Dividers and decoration only
#1F5F2C text on white 7.68:1 AAA Lc 86.4 Fine for body text
#1F5F2C text on black 2.73:1 Fails Lc -15.7 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

    #A7CCAA

    oklch(80.9% 0.062 147.2)

  5. Step 400

    400

    #76B17D

    oklch(70.6% 0.097 147.4)

  6. Step 500

    500

    #509E5C

    oklch(63.2% 0.125 147.3)

  7. Step 600

    600

    #2F8841

    oklch(55.7% 0.136 147.3)

  8. Step 700

    700

    #207333

    oklch(49.1% 0.126 147.4)

  9. Step 800

    800 (this color)

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  10. Step 900

    900

    #1F4D27

    oklch(37.7% 0.081 147.4)

  11. Step 950

    950

    #132D17

    oklch(26.9% 0.052 147.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F5F2C 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)#6056280.082
Deuteranopia (no green cones)#5851300.081
Tritanopia (no blue cones)#0D5D530.060
Achromatopsia (no color)#5353530.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5F2C

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  • #6E396D

    #6E396D

    oklch(43.2% 0.104 327.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5F2C

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  • #4C5700

    #4C5700

    oklch(43.2% 0.1 117.9)

  • #005E50

    #005E50

    oklch(43.1% 0.079 177.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F5F2C

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  • #574282

    #574282

    oklch(43.2% 0.104 297)

  • #7B3451

    #7B3451

    oklch(43.1% 0.104 356.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5F2C

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  • #374C89

    #374C89

    oklch(43.1% 0.104 267.6)

  • #80362F

    #80362F

    oklch(43.2% 0.104 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5F2C

    #1F5F2C

    oklch(43.1% 0.104 147.3)

  • #00577D

    #00577D

    oklch(43.2% 0.094 236.6)

  • #6E396D

    #6E396D

    oklch(43.2% 0.104 327.9)

  • #793E00

    #793E00

    oklch(43% 0.104 57.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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