#1F3A18

Closest named color: Pakistan Green (#283618). oklch(31.7% 0.066 139.5), rgb(31, 58, 24).

Aa

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

About this color

#1F3A18 is a dark, muted green. In OKLCH its lightness is 32%, its chroma 0.066 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.017 away. White text reads best on it, at 12.52:1.

Hue familyGreens
Lightnessdark (32%)
Chromamuted (0.066)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.67:1
White text12.52:1

Values

HEX#1F3A18
RGBrgb(31, 58, 24)
HSLhsl(108, 41%, 16%)
OKLCHoklch(31.7% 0.066 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 #1F3A18 12.52:1 AAA Lc -101.7 Preferred for body text
Black text on #1F3A18 1.67:1 Fails Lc 0.0 Not readable
#1F3A18 text on white 12.52:1 AAA Lc 98.3 Preferred for body text
#1F3A18 text on black 1.67: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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CBE1C5

    oklch(88.6% 0.044 139)

  4. Step 300

    300

    #A7CD9D

    oklch(80.8% 0.078 139.2)

  5. Step 400

    400

    #76B366

    oklch(70.6% 0.125 139.3)

  6. Step 500

    500

    #4FA039

    oklch(63.2% 0.16 139.6)

  7. Step 600

    600

    #2F8A08

    oklch(55.7% 0.174 139.5)

  8. Step 700

    700

    #247400

    oklch(49.1% 0.156 139.5)

  9. Step 800

    800

    #1E5F03

    oklch(42.7% 0.134 139.4)

  10. Step 900

    900

    #1F4E11

    oklch(37.7% 0.104 139.5)

  11. Step 950

    950 (this color)

    #1F3A18

    oklch(31.7% 0.066 139.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F3A18 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)#3C35150.046
Deuteranopia (no green cones)#38331A0.044
Tritanopia (no blue cones)#1D38320.044
Achromatopsia (no color)#3434340.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F3A18

    #1F3A18

    oklch(31.7% 0.066 139.5)

  • #412647

    #412647

    oklch(31.7% 0.067 320.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F3A18

    #1F3A18

    oklch(31.7% 0.066 139.5)

  • #353503

    #353503

    oklch(31.9% 0.067 109.7)

  • #003C2D

    #003C2D

    oklch(31.7% 0.063 169.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F3A18

    #1F3A18

    oklch(31.7% 0.066 139.5)

  • #322C51

    #322C51

    oklch(31.8% 0.065 289.6)

  • #4A2337

    #4A2337

    oklch(31.7% 0.065 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F3A18

    #1F3A18

    oklch(31.7% 0.066 139.5)

  • #1D3253

    #1D3253

    oklch(31.7% 0.065 259.1)

  • #4E2324

    #4E2324

    oklch(31.7% 0.065 20)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F3A18

    #1F3A18

    oklch(31.7% 0.066 139.5)

  • #00384C

    #00384C

    oklch(31.9% 0.063 229.3)

  • #412647

    #412647

    oklch(31.7% 0.067 320.2)

  • #4C2710

    #4C2710

    oklch(31.7% 0.065 50.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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