#1F5105

Closest named color: Forest (#0B5509). oklch(38.5% 0.115 138), rgb(31, 81, 5).

Aa

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

About this color

#1F5105 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.115 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.015 away. White text reads best on it, at 9.38:1.

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

Values

HEX#1F5105
RGBrgb(31, 81, 5)
HSLhsl(99, 88%, 17%)
OKLCHoklch(38.5% 0.115 138)

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 #1F5105 9.38:1 AAA Lc -95.7 Preferred for body text
Black text on #1F5105 2.23:1 Fails Lc 12.6 Not readable
#1F5105 text on white 9.38:1 AAA Lc 91.4 Preferred for body text
#1F5105 text on black 2.23:1 Fails Lc -11.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 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

    #CAE1C3

    oklch(88.5% 0.047 138.4)

  4. Step 300

    300

    #A5CE98

    oklch(80.8% 0.086 138.3)

  5. Step 400

    400

    #74B45D

    oklch(70.6% 0.136 138)

  6. Step 500

    500

    #4CA125

    oklch(63.2% 0.176 138)

  7. Step 600

    600

    #368900

    oklch(55.6% 0.172 138)

  8. Step 700

    700

    #2C7300

    oklch(49.1% 0.152 138.1)

  9. Step 800

    800

    #235E00

    oklch(42.6% 0.131 138)

  10. Step 900

    900 (this color)

    #1F5105

    oklch(38.5% 0.115 138)

  11. Step 950

    950

    #122E06

    oklch(26.9% 0.073 137.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F5105 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)#5449000.074
Deuteranopia (no green cones)#4E450F0.074
Tritanopia (no blue cones)#1A4E440.080
Achromatopsia (no color)#4646460.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5105

    #1F5105

    oklch(38.5% 0.115 138)

  • #5C2C6B

    #5C2C6B

    oklch(38.6% 0.114 317.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5105

    #1F5105

    oklch(38.5% 0.115 138)

  • #484700

    #484700

    oklch(38.6% 0.084 108.8)

  • #00513C

    #00513C

    oklch(38.6% 0.078 168.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F5105

    #1F5105

    oklch(38.5% 0.115 138)

  • #43367C

    #43367C

    oklch(38.5% 0.114 288.4)

  • #6D244E

    #6D244E

    oklch(38.5% 0.114 348.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5105

    #1F5105

    oklch(38.5% 0.115 138)

  • #164280

    #164280

    oklch(38.6% 0.115 257.9)

  • #75222C

    #75222C

    oklch(38.5% 0.116 17.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5105

    #1F5105

    oklch(38.5% 0.115 138)

  • #004B63

    #004B63

    oklch(38.5% 0.075 227.8)

  • #5C2C6B

    #5C2C6B

    oklch(38.6% 0.114 317.5)

  • #6E2E00

    #6E2E00

    oklch(38.5% 0.104 48.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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