#1F331B

Closest named color: Pakistan Green (#283618). oklch(29.7% 0.049 140.3), rgb(31, 51, 27).

Aa

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

About this color

#1F331B is a dark, muted green. In OKLCH its lightness is 30%, its chroma 0.049 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.018 away. White text reads best on it, at 13.56:1.

Hue familyGreens
Lightnessdark (30%)
Chromamuted (0.049)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.54:1
White text13.56:1

Values

HEX#1F331B
RGBrgb(31, 51, 27)
HSLhsl(110, 31%, 15%)
OKLCHoklch(29.7% 0.049 140.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 #1F331B 13.56:1 AAA Lc -103.1 Preferred for body text
Black text on #1F331B 1.54:1 Fails Lc 0.0 Not readable
#1F331B text on white 13.56:1 AAA Lc 100.0 Preferred for body text
#1F331B text on black 1.54: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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFCB

    oklch(88.5% 0.033 141)

  4. Step 300

    300

    #ADCAA7

    oklch(80.8% 0.058 140.3)

  5. Step 400

    400

    #81AF78

    oklch(70.7% 0.092 140.4)

  6. Step 500

    500

    #609B54

    oklch(63.1% 0.119 140.3)

  7. Step 600

    600

    #458538

    oklch(55.6% 0.129 140.4)

  8. Step 700

    700

    #36712A

    oklch(49.2% 0.121 140.4)

  9. Step 800

    800

    #2D5C24

    oklch(42.7% 0.1 140.5)

  10. Step 900

    900

    #294B22

    oklch(37.6% 0.077 140.3)

  11. Step 950

    950 (this color)

    #1F331B

    oklch(29.7% 0.049 140.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F331B 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)#342F190.035
Deuteranopia (no green cones)#312D1C0.035
Tritanopia (no blue cones)#1E322D0.032
Achromatopsia (no color)#2E2E2E0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F331B

    #1F331B

    oklch(29.7% 0.049 140.3)

  • #38253C

    #38253C

    oklch(29.8% 0.048 320.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F331B

    #1F331B

    oklch(29.7% 0.049 140.3)

  • #2E2F0F

    #2E2F0F

    oklch(29.6% 0.05 110.7)

  • #0D3529

    #0D3529

    oklch(29.7% 0.05 169.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F331B

    #1F331B

    oklch(29.7% 0.049 140.3)

  • #2D2844

    #2D2844

    oklch(29.6% 0.05 291.2)

  • #3F2230

    #3F2230

    oklch(29.5% 0.049 350.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F331B

    #1F331B

    oklch(29.7% 0.049 140.3)

  • #1E2D46

    #1E2D46

    oklch(29.7% 0.05 260.2)

  • #422222

    #422222

    oklch(29.5% 0.049 20.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F331B

    #1F331B

    oklch(29.7% 0.049 140.3)

  • #0D3141

    #0D3141

    oklch(29.6% 0.05 231.2)

  • #38253C

    #38253C

    oklch(29.8% 0.048 320.5)

  • #412515

    #412515

    oklch(29.7% 0.05 49.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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