#1F4E02

Closest named color: Forest (#0B5509). oklch(37.6% 0.113 137.3), rgb(31, 78, 2).

Aa

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

About this color

#1F4E02 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.113 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.023 away. White text reads best on it, at 9.77:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.14:1
White text9.77:1

Values

HEX#1F4E02
RGBrgb(31, 78, 2)
HSLhsl(97, 95%, 16%)
OKLCHoklch(37.6% 0.113 137.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 #1F4E02 9.77:1 AAA Lc -96.6 Preferred for body text
Black text on #1F4E02 2.14:1 Fails Lc 11.6 Not readable
#1F4E02 text on white 9.77:1 AAA Lc 92.3 Preferred for body text
#1F4E02 text on black 2.14:1 Fails Lc -10.1 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 900.

  1. Step 50

    50

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E2EEDE

    oklch(93.6% 0.025 137.8)

  3. Step 200

    200

    #CBE1C3

    oklch(88.5% 0.047 137.3)

  4. Step 300

    300

    #A7CE98

    oklch(80.9% 0.085 137.1)

  5. Step 400

    400

    #76B45D

    oklch(70.7% 0.135 137.3)

  6. Step 500

    500

    #50A026

    oklch(63.1% 0.173 137.2)

  7. Step 600

    600

    #3A8800

    oklch(55.5% 0.169 137.3)

  8. Step 700

    700

    #307300

    oklch(49.2% 0.15 137.3)

  9. Step 800

    800

    #265E00

    oklch(42.7% 0.13 137.2)

  10. Step 900

    900 (this color)

    #1F4E02

    oklch(37.6% 0.113 137.3)

  11. Step 950

    950

    #132E07

    oklch(27% 0.071 137.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E02 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)#5146000.072
Deuteranopia (no green cones)#4B420C0.072
Tritanopia (no blue cones)#1B4B410.079
Achromatopsia (no color)#4444440.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E02

    #1F4E02

    oklch(37.6% 0.113 137.3)

  • #592A68

    #592A68

    oklch(37.7% 0.113 317.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E02

    #1F4E02

    oklch(37.6% 0.113 137.3)

  • #464400

    #464400

    oklch(37.6% 0.081 107.8)

  • #004E39

    #004E39

    oklch(37.6% 0.077 167.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E02

    #1F4E02

    oklch(37.6% 0.113 137.3)

  • #3F3479

    #3F3479

    oklch(37.6% 0.113 286.9)

  • #69224C

    #69224C

    oklch(37.5% 0.113 347.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E02

    #1F4E02

    oklch(37.6% 0.113 137.3)

  • #13407C

    #13407C

    oklch(37.7% 0.113 257.2)

  • #71202B

    #71202B

    oklch(37.5% 0.113 16.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E02

    #1F4E02

    oklch(37.6% 0.113 137.3)

  • #00485F

    #00485F

    oklch(37.5% 0.073 227.6)

  • #592A68

    #592A68

    oklch(37.7% 0.113 317.3)

  • #6B2B00

    #6B2B00

    oklch(37.5% 0.104 47.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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