#1F5201

Closest named color: Forest (#0B5509). oklch(38.8% 0.118 137.7), rgb(31, 82, 1).

Aa

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

About this color

#1F5201 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.118 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.013 away. White text reads best on it, at 9.26:1.

Hue familyGreens
Lightnessdark (39%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.26:1
White text9.26:1

Values

HEX#1F5201
RGBrgb(31, 82, 1)
HSLhsl(98, 98%, 16%)
OKLCHoklch(38.8% 0.118 137.7)

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 #1F5201 9.26:1 AAA Lc -95.4 Preferred for body text
Black text on #1F5201 2.26:1 Fails Lc 12.9 Not readable
#1F5201 text on white 9.26:1 AAA Lc 91.0 Preferred for body text
#1F5201 text on black 2.26:1 Fails Lc -11.3 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 900.

  1. Step 50

    50

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E2EEDE

    oklch(93.6% 0.025 137.8)

  3. Step 200

    200

    #CAE1C2

    oklch(88.4% 0.048 137.6)

  4. Step 300

    300

    #A5CF96

    oklch(81% 0.09 137.6)

  5. Step 400

    400

    #73B559

    oklch(70.7% 0.142 137.5)

  6. Step 500

    500

    #4AA11D

    oklch(63.1% 0.181 137.8)

  7. Step 600

    600

    #388900

    oklch(55.7% 0.171 137.7)

  8. Step 700

    700

    #2E7300

    oklch(49.1% 0.151 137.7)

  9. Step 800

    800

    #245E00

    oklch(42.6% 0.131 137.7)

  10. Step 900

    900 (this color)

    #1F5201

    oklch(38.8% 0.118 137.7)

  11. Step 950

    950

    #122E05

    oklch(26.9% 0.074 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#1F5201 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)#554A000.076
Deuteranopia (no green cones)#4F460C0.075
Tritanopia (no blue cones)#1B4F440.082
Achromatopsia (no color)#4747470.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5201

    #1F5201

    oklch(38.8% 0.118 137.7)

  • #5E2B6D

    #5E2B6D

    oklch(38.8% 0.119 318)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5201

    #1F5201

    oklch(38.8% 0.118 137.7)

  • #494700

    #494700

    oklch(38.7% 0.083 107.9)

  • #00523C

    #00523C

    oklch(38.9% 0.079 167.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F5201

    #1F5201

    oklch(38.8% 0.118 137.7)

  • #43367F

    #43367F

    oklch(38.8% 0.119 287.7)

  • #6F2350

    #6F2350

    oklch(38.8% 0.119 347.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5201

    #1F5201

    oklch(38.8% 0.118 137.7)

  • #144282

    #144282

    oklch(38.7% 0.119 257.8)

  • #77212C

    #77212C

    oklch(38.8% 0.119 17.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5201

    #1F5201

    oklch(38.8% 0.118 137.7)

  • #004C64

    #004C64

    oklch(38.9% 0.075 227.5)

  • #5E2B6D

    #5E2B6D

    oklch(38.8% 0.119 318)

  • #702E00

    #702E00

    oklch(38.8% 0.106 47.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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