#1F4F05

Closest named color: Forest (#0B5509). oklch(37.9% 0.112 137.8), rgb(31, 79, 5).

Aa

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

About this color

#1F4F05 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.021 away. White text reads best on it, at 9.63:1.

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

Values

HEX#1F4F05
RGBrgb(31, 79, 5)
HSLhsl(99, 88%, 16%)
OKLCHoklch(37.9% 0.112 137.8)

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 #1F4F05 9.63:1 AAA Lc -96.3 Preferred for body text
Black text on #1F4F05 2.17:1 Fails Lc 11.9 Not readable
#1F4F05 text on white 9.63:1 AAA Lc 92.0 Preferred for body text
#1F4F05 text on black 2.17:1 Fails Lc -10.4 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

    #A6CE99

    oklch(80.9% 0.084 138.1)

  5. Step 400

    400

    #75B45E

    oklch(70.7% 0.135 137.9)

  6. Step 500

    500

    #4EA028

    oklch(63% 0.173 137.8)

  7. Step 600

    600

    #378900

    oklch(55.7% 0.172 137.9)

  8. Step 700

    700

    #2D7300

    oklch(49.1% 0.151 137.9)

  9. Step 800

    800

    #245E00

    oklch(42.6% 0.131 137.7)

  10. Step 900

    900 (this color)

    #1F4F05

    oklch(37.9% 0.112 137.8)

  11. Step 950

    950

    #132E07

    oklch(27% 0.071 137.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F4F05 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)#5247000.073
Deuteranopia (no green cones)#4C430F0.073
Tritanopia (no blue cones)#1B4C420.078
Achromatopsia (no color)#4545450.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4F05

    #1F4F05

    oklch(37.9% 0.112 137.8)

  • #5A2B68

    #5A2B68

    oklch(38% 0.112 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4F05

    #1F4F05

    oklch(37.9% 0.112 137.8)

  • #474500

    #474500

    oklch(38% 0.082 107.9)

  • #004F3A

    #004F3A

    oklch(38% 0.077 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F4F05

    #1F4F05

    oklch(37.9% 0.112 137.8)

  • #413579

    #413579

    oklch(37.9% 0.111 288)

  • #6A234D

    #6A234D

    oklch(37.8% 0.113 347.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4F05

    #1F4F05

    oklch(37.9% 0.112 137.8)

  • #16407C

    #16407C

    oklch(37.8% 0.112 258)

  • #72222B

    #72222B

    oklch(38% 0.112 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4F05

    #1F4F05

    oklch(37.9% 0.112 137.8)

  • #004961

    #004961

    oklch(37.9% 0.074 228.4)

  • #5A2B68

    #5A2B68

    oklch(38% 0.112 317.9)

  • #6C2D00

    #6C2D00

    oklch(38% 0.103 48.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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