#1F2F22

Closest named color: Pakistan Green (#283618). oklch(28.6% 0.032 149.8), rgb(31, 47, 34).

Aa

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

About this color

#1F2F22 is a dark, muted green. In OKLCH its lightness is 29%, its chroma 0.032 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.036 away. White text reads best on it, at 14.11:1.

Hue familyGreens
Lightnessdark (29%)
Chromamuted (0.032)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.48:1
White text14.11:1

Values

HEX#1F2F22
RGBrgb(31, 47, 34)
HSLhsl(131, 21%, 15%)
OKLCHoklch(28.6% 0.032 149.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 #1F2F22 14.11:1 AAA Lc -103.8 Preferred for body text
Black text on #1F2F22 1.48:1 Fails Lc 0.0 Not readable
#1F2F22 text on white 14.11:1 AAA Lc 100.8 Preferred for body text
#1F2F22 text on black 1.48: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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E5ECE6

    oklch(93.6% 0.011 149.9)

  3. Step 200

    200

    #D0DDD2

    oklch(88.5% 0.02 150.1)

  4. Step 300

    300

    #B0C8B4

    oklch(80.9% 0.038 150.2)

  5. Step 400

    400

    #86AC8D

    oklch(70.8% 0.061 150.1)

  6. Step 500

    500

    #679770

    oklch(63.1% 0.078 149.6)

  7. Step 600

    600

    #4E8159

    oklch(55.6% 0.083 149.9)

  8. Step 700

    700

    #3E6D49

    oklch(49.1% 0.077 150.3)

  9. Step 800

    800

    #34593C

    oklch(42.7% 0.064 149.9)

  10. Step 900

    900

    #2E4933

    oklch(37.7% 0.05 149.3)

  11. Step 950

    950 (this color)

    #1F2F22

    oklch(28.6% 0.032 149.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F2F22 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)#2F2C210.027
Deuteranopia (no green cones)#2D2B230.026
Tritanopia (no blue cones)#1D2E2B0.018
Achromatopsia (no color)#2B2B2B0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F2F22

    #1F2F22

    oklch(28.6% 0.032 149.8)

  • #342532

    #342532

    oklch(28.8% 0.032 331)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F2F22

    #1F2F22

    oklch(28.6% 0.032 149.8)

  • #282D1B

    #282D1B

    oklch(28.7% 0.032 121.1)

  • #17302B

    #17302B

    oklch(28.7% 0.033 179.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F2F22

    #1F2F22

    oklch(28.6% 0.032 149.8)

  • #2D2738

    #2D2738

    oklch(28.7% 0.032 300.6)

  • #38242A

    #38242A

    oklch(28.7% 0.032 359.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F2F22

    #1F2F22

    oklch(28.6% 0.032 149.8)

  • #242A3B

    #242A3B

    oklch(28.7% 0.032 269.3)

  • #392521

    #392521

    oklch(28.8% 0.032 31.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F2F22

    #1F2F22

    oklch(28.6% 0.032 149.8)

  • #1B2D39

    #1B2D39

    oklch(28.7% 0.032 238.6)

  • #342532

    #342532

    oklch(28.8% 0.032 331)

  • #36271A

    #36271A

    oklch(28.7% 0.032 62)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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