#1F5012

Closest named color: Forest (#0B5509). oklch(38.3% 0.106 139.9), rgb(31, 80, 18).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameForest (#0B5509)
Black text2.21:1
White text9.48:1

Values

HEX#1F5012
RGBrgb(31, 80, 18)
HSLhsl(107, 63%, 19%)
OKLCHoklch(38.3% 0.106 139.9)

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 #1F5012 9.48:1 AAA Lc -95.9 Preferred for body text
Black text on #1F5012 2.21:1 Fails Lc 12.3 Not readable
#1F5012 text on white 9.48:1 AAA Lc 91.7 Preferred for body text
#1F5012 text on black 2.21:1 Fails Lc -10.7 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

    #E2EEDF

    oklch(93.6% 0.024 139.4)

  3. Step 200

    200

    #CAE1C5

    oklch(88.5% 0.045 140.1)

  4. Step 300

    300

    #A6CE9D

    oklch(81% 0.08 139.9)

  5. Step 400

    400

    #74B466

    oklch(70.8% 0.127 140)

  6. Step 500

    500

    #4DA038

    oklch(63.1% 0.162 139.8)

  7. Step 600

    600

    #2B8A04

    oklch(55.6% 0.177 139.8)

  8. Step 700

    700

    #217400

    oklch(49% 0.157 139.9)

  9. Step 800

    800

    #1B5F01

    oklch(42.6% 0.136 139.7)

  10. Step 900

    900 (this color)

    #1F5012

    oklch(38.3% 0.106 139.9)

  11. Step 950

    950

    #122E0C

    oklch(27% 0.067 140.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F5012 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)#5248080.071
Deuteranopia (no green cones)#4C44180.071
Tritanopia (no blue cones)#194D440.072
Achromatopsia (no color)#4646460.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F5012

    #1F5012

    oklch(38.3% 0.106 139.9)

  • #5B2D66

    #5B2D66

    oklch(38.3% 0.106 319.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F5012

    #1F5012

    oklch(38.3% 0.106 139.9)

  • #464600

    #464600

    oklch(38.2% 0.083 109.8)

  • #00503D

    #00503D

    oklch(38.4% 0.076 170)

Open the analogous palette in the generator

Split complementary

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

  • #1F5012

    #1F5012

    oklch(38.3% 0.106 139.9)

  • #443677

    #443677

    oklch(38.3% 0.107 290.4)

  • #6A274B

    #6A274B

    oklch(38.3% 0.105 349.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F5012

    #1F5012

    oklch(38.3% 0.106 139.9)

  • #1E417B

    #1E417B

    oklch(38.3% 0.107 260)

  • #71262B

    #71262B

    oklch(38.3% 0.106 19.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F5012

    #1F5012

    oklch(38.3% 0.106 139.9)

  • #004A64

    #004A64

    oklch(38.3% 0.077 230.2)

  • #5B2D66

    #5B2D66

    oklch(38.3% 0.106 319.6)

  • #6C2F00

    #6C2F00

    oklch(38.3% 0.101 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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