#1F4E04

Closest named color: Forest (#0B5509). oklch(37.6% 0.112 137.5), rgb(31, 78, 4).

Aa

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

About this color

#1F4E04 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.112 and its hue 138°. 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.76:1.

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

Values

HEX#1F4E04
RGBrgb(31, 78, 4)
HSLhsl(98, 90%, 16%)
OKLCHoklch(37.6% 0.112 137.5)

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 #1F4E04 9.76:1 AAA Lc -96.6 Preferred for body text
Black text on #1F4E04 2.14:1 Fails Lc 11.6 Not readable
#1F4E04 text on white 9.76:1 AAA Lc 92.3 Preferred for body text
#1F4E04 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

    #A7CE99

    oklch(81% 0.084 137.5)

  5. Step 400

    400

    #76B45E

    oklch(70.7% 0.134 137.6)

  6. Step 500

    500

    #50A029

    oklch(63.1% 0.171 137.5)

  7. Step 600

    600

    #398800

    oklch(55.5% 0.17 137.5)

  8. Step 700

    700

    #2F7300

    oklch(49.2% 0.15 137.5)

  9. Step 800

    800

    #255E00

    oklch(42.7% 0.13 137.5)

  10. Step 900

    900 (this color)

    #1F4E04

    oklch(37.6% 0.112 137.5)

  11. Step 950

    950

    #132E07

    oklch(27% 0.071 137.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E04 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)#4B420E0.072
Tritanopia (no blue cones)#1B4B410.078
Achromatopsia (no color)#4444440.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E04

    #1F4E04

    oklch(37.6% 0.112 137.5)

  • #592A67

    #592A67

    oklch(37.6% 0.112 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E04

    #1F4E04

    oklch(37.6% 0.112 137.5)

  • #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°).

  • #1F4E04

    #1F4E04

    oklch(37.6% 0.112 137.5)

  • #403478

    #403478

    oklch(37.6% 0.112 287.9)

  • #69234C

    #69234C

    oklch(37.6% 0.111 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E04

    #1F4E04

    oklch(37.6% 0.112 137.5)

  • #14407B

    #14407B

    oklch(37.7% 0.111 257.2)

  • #71212B

    #71212B

    oklch(37.7% 0.112 17.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E04

    #1F4E04

    oklch(37.6% 0.112 137.5)

  • #00485F

    #00485F

    oklch(37.5% 0.073 227.6)

  • #592A67

    #592A67

    oklch(37.6% 0.112 317.9)

  • #6B2C00

    #6B2C00

    oklch(37.6% 0.103 47.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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