#1F2F0F

Closest named color: Pakistan Green (#283618). oklch(28.2% 0.057 131.3), rgb(31, 47, 15).

Aa

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

About this color

#1F2F0F is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.057 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 14.26:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.057)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.47:1
White text14.26:1

Values

HEX#1F2F0F
RGBrgb(31, 47, 15)
HSLhsl(90, 52%, 12%)
OKLCHoklch(28.2% 0.057 131.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 #1F2F0F 14.26:1 AAA Lc -103.9 Preferred for body text
Black text on #1F2F0F 1.47:1 Fails Lc 0.0 Not readable
#1F2F0F text on white 14.26:1 AAA Lc 100.9 Preferred for body text
#1F2F0F text on black 1.47:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E5EDDF

    oklch(93.6% 0.02 131.5)

  3. Step 200

    200

    #D0DFC5

    oklch(88.5% 0.039 131.9)

  4. Step 300

    300

    #B1CA9D

    oklch(80.9% 0.067 131.5)

  5. Step 400

    400

    #88AF66

    oklch(70.8% 0.109 131.6)

  6. Step 500

    500

    #6B9A39

    oklch(63.2% 0.137 131.2)

  7. Step 600

    600

    #528408

    oklch(55.6% 0.15 131.3)

  8. Step 700

    700

    #436F00

    oklch(49% 0.135 131.5)

  9. Step 800

    800

    #375B03

    oklch(42.7% 0.115 131.3)

  10. Step 900

    900

    #304B11

    oklch(37.8% 0.09 131.3)

  11. Step 950

    950 (this color)

    #1F2F0F

    oklch(28.2% 0.057 131.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F2F0F 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)#312B0C0.032
Deuteranopia (no green cones)#2F2A110.032
Tritanopia (no blue cones)#202D280.043
Achromatopsia (no color)#2A2A2A0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2F0F

    #1F2F0F

    oklch(28.2% 0.057 131.3)

  • #33213E

    #33213E

    oklch(28.4% 0.057 311.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2F0F

    #1F2F0F

    oklch(28.2% 0.057 131.3)

  • #2F2A02

    #2F2A02

    oklch(28.2% 0.057 102.1)

  • #063220

    #063220

    oklch(28.2% 0.057 161.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F2F0F

    #1F2F0F

    oklch(28.2% 0.057 131.3)

  • #252545

    #252545

    oklch(28.2% 0.058 282)

  • #3C1D32

    #3C1D32

    oklch(28.2% 0.058 340.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2F0F

    #1F2F0F

    oklch(28.2% 0.057 131.3)

  • #122B44

    #122B44

    oklch(28.3% 0.056 250.4)

  • #411C22

    #411C22

    oklch(28.2% 0.058 11.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2F0F

    #1F2F0F

    oklch(28.2% 0.057 131.3)

  • #002F3B

    #002F3B

    oklch(28.2% 0.051 220.2)

  • #33213E

    #33213E

    oklch(28.4% 0.057 311.7)

  • #401F12

    #401F12

    oklch(28.2% 0.056 41.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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