#1F5217

Closest named color: Forest (#0B5509). oklch(39% 0.105 141.1), rgb(31, 82, 23).

Aa

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

About this color

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

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

Values

HEX#1F5217
RGBrgb(31, 82, 23)
HSLhsl(112, 56%, 21%)
OKLCHoklch(39% 0.105 141.1)

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 #1F5217 9.22:1 AAA Lc -95.3 Preferred for body text
Black text on #1F5217 2.27:1 Fails Lc 13.0 Not readable
#1F5217 text on white 9.22:1 AAA Lc 91.0 Preferred for body text
#1F5217 text on black 2.27:1 Fails Lc -11.4 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CAE1C6

    oklch(88.5% 0.044 141)

  4. Step 300

    300

    #A5CE9E

    oklch(80.9% 0.079 141)

  5. Step 400

    400

    #72B468

    oklch(70.7% 0.126 141.2)

  6. Step 500

    500

    #4AA03C

    oklch(63% 0.16 141)

  7. Step 600

    600

    #268A12

    oklch(55.5% 0.174 141.1)

  8. Step 700

    700

    #177500

    oklch(49% 0.162 141.1)

  9. Step 800

    800

    #176008

    oklch(42.8% 0.135 141)

  10. Step 900

    900 (this color)

    #1F5217

    oklch(39% 0.105 141.1)

  11. Step 950

    950

    #112E0D

    oklch(27% 0.067 141.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F5217 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)#544A0F0.072
Deuteranopia (no green cones)#4E461C0.073
Tritanopia (no blue cones)#184F460.070
Achromatopsia (no color)#4747470.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5217

    #1F5217

    oklch(39% 0.105 141.1)

  • #5E2F66

    #5E2F66

    oklch(39% 0.105 321.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5217

    #1F5217

    oklch(39% 0.105 141.1)

  • #474900

    #474900

    oklch(39% 0.086 111.6)

  • #00523F

    #00523F

    oklch(39% 0.077 170.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F5217

    #1F5217

    oklch(39% 0.105 141.1)

  • #463878

    #463878

    oklch(38.9% 0.105 290.8)

  • #6D294C

    #6D294C

    oklch(39.1% 0.105 351)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5217

    #1F5217

    oklch(39% 0.105 141.1)

  • #23437C

    #23437C

    oklch(39.1% 0.104 261)

  • #73292B

    #73292B

    oklch(39.1% 0.105 21.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5217

    #1F5217

    oklch(39% 0.105 141.1)

  • #004C67

    #004C67

    oklch(39% 0.078 230.6)

  • #5E2F66

    #5E2F66

    oklch(39% 0.105 321.6)

  • #6E3100

    #6E3100

    oklch(39% 0.102 50.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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