#1F331A

Closest named color: Pakistan Green (#283618). oklch(29.6% 0.051 139.5), rgb(31, 51, 26).

Aa

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

About this color

#1F331A is a dark, muted green. In OKLCH its lightness is 30%, its chroma 0.051 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.57:1.

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

Values

HEX#1F331A
RGBrgb(31, 51, 26)
HSLhsl(108, 32%, 15%)
OKLCHoklch(29.6% 0.051 139.5)

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 #1F331A 13.57:1 AAA Lc -103.1 Preferred for body text
Black text on #1F331A 1.54:1 Fails Lc 0.0 Not readable
#1F331A text on white 13.57:1 AAA Lc 100.0 Preferred for body text
#1F331A 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

    #CEDFCA

    oklch(88.5% 0.034 139.7)

  4. Step 300

    300

    #ADCBA6

    oklch(81% 0.06 139.8)

  5. Step 400

    400

    #81AF75

    oklch(70.6% 0.096 139.3)

  6. Step 500

    500

    #609B51

    oklch(63.1% 0.122 139.5)

  7. Step 600

    600

    #458534

    oklch(55.5% 0.133 139.5)

  8. Step 700

    700

    #367126

    oklch(49.2% 0.124 139.6)

  9. Step 800

    800

    #2E5C21

    oklch(42.7% 0.103 139.3)

  10. Step 900

    900

    #294C20

    oklch(37.8% 0.081 139.5)

  11. Step 950

    950 (this color)

    #1F331A

    oklch(29.6% 0.051 139.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F331A 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)#342F180.035
Deuteranopia (no green cones)#312D1B0.035
Tritanopia (no blue cones)#1E312D0.035
Achromatopsia (no color)#2E2E2E0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F331A

    #1F331A

    oklch(29.6% 0.051 139.5)

  • #38243D

    #38243D

    oklch(29.6% 0.052 319.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F331A

    #1F331A

    oklch(29.6% 0.051 139.5)

  • #2F2F0E

    #2F2F0E

    oklch(29.7% 0.05 109.1)

  • #0C3529

    #0C3529

    oklch(29.7% 0.05 169.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F331A

    #1F331A

    oklch(29.6% 0.051 139.5)

  • #2C2845

    #2C2845

    oklch(29.6% 0.052 289.1)

  • #402231

    #402231

    oklch(29.7% 0.051 349.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F331A

    #1F331A

    oklch(29.6% 0.051 139.5)

  • #1D2D46

    #1D2D46

    oklch(29.6% 0.051 259)

  • #432222

    #432222

    oklch(29.7% 0.051 20.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F331A

    #1F331A

    oklch(29.6% 0.051 139.5)

  • #0B3141

    #0B3141

    oklch(29.5% 0.051 230.3)

  • #38243D

    #38243D

    oklch(29.6% 0.052 319.4)

  • #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 #1F331A, closest first.

Similar named colors

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

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