#1F4E27

Closest named color: Pine Green (#0A481E). oklch(38% 0.083 147.2), rgb(31, 78, 39).

Aa

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

About this color

#1F4E27 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.083 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.029 away. White text reads best on it, at 9.64:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.17:1
White text9.64:1

Values

HEX#1F4E27
RGBrgb(31, 78, 39)
HSLhsl(130, 43%, 21%)
OKLCHoklch(38% 0.083 147.2)

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 #1F4E27 9.64:1 AAA Lc -96.4 Preferred for body text
Black text on #1F4E27 2.17:1 Fails Lc 11.8 Not readable
#1F4E27 text on white 9.64:1 AAA Lc 92.1 Preferred for body text
#1F4E27 text on black 2.17:1 Fails Lc -10.3 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EDE3

    oklch(93.5% 0.018 148.1)

  3. Step 200

    200

    #CBE0CC

    oklch(88.6% 0.035 146.6)

  4. Step 300

    300

    #A7CCAA

    oklch(80.9% 0.062 147.2)

  5. Step 400

    400

    #75B27C

    oklch(70.8% 0.1 147.2)

  6. Step 500

    500

    #4E9E5A

    oklch(63.1% 0.128 147.1)

  7. Step 600

    600

    #2D8840

    oklch(55.6% 0.137 147.3)

  8. Step 700

    700

    #1E7331

    oklch(49% 0.128 147.1)

  9. Step 800

    800

    #1C5E2A

    oklch(42.7% 0.106 147.3)

  10. Step 900

    900 (this color)

    #1F4E27

    oklch(38% 0.083 147.2)

  11. Step 950

    950

    #132D17

    oklch(26.9% 0.052 147.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F4E27 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)#4F47240.066
Deuteranopia (no green cones)#49432A0.066
Tritanopia (no blue cones)#154C450.050
Achromatopsia (no color)#4545450.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4E27

    #1F4E27

    oklch(38% 0.083 147.2)

  • #593159

    #593159

    oklch(38% 0.083 327.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4E27

    #1F4E27

    oklch(38% 0.083 147.2)

  • #3F4808

    #3F4808

    oklch(38.1% 0.083 117.8)

  • #004E42

    #004E42

    oklch(37.9% 0.07 177.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F4E27

    #1F4E27

    oklch(38% 0.083 147.2)

  • #483869

    #483869

    oklch(38.2% 0.083 297.4)

  • #642E43

    #642E43

    oklch(38.1% 0.082 357.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4E27

    #1F4E27

    oklch(38% 0.083 147.2)

  • #2F406E

    #2F406E

    oklch(38.1% 0.082 267.2)

  • #682F29

    #682F29

    oklch(38.1% 0.083 27.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4E27

    #1F4E27

    oklch(38% 0.083 147.2)

  • #014869

    #014869

    oklch(38.1% 0.083 237.3)

  • #593159

    #593159

    oklch(38% 0.083 327.1)

  • #63350C

    #63350C

    oklch(38% 0.084 56.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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