#031E0C

Closest named color: Dark Forest Green (#002D04). oklch(20.8% 0.049 151.9), rgb(3, 30, 12).

Aa

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

About this color

#031E0C is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.049 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.061 away. White text reads best on it, at 17.57:1.

Hue familyGreens
Lightnessvery dark (21%)
Chromamuted (0.049)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.19:1
White text17.57:1

Values

HEX#031E0C
RGBrgb(3, 30, 12)
HSLhsl(140, 82%, 6%)
OKLCHoklch(20.8% 0.049 151.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 #031E0C 17.57:1 AAA Lc -106.5 Preferred for body text
Black text on #031E0C 1.19:1 Fails Lc 0.0 Not readable
#031E0C text on white 17.57:1 AAA Lc 104.2 Preferred for body text
#031E0C text on black 1.19: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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CF

    oklch(88.6% 0.033 152.4)

  4. Step 300

    300

    #A6CCAE

    oklch(80.9% 0.058 151.2)

  5. Step 400

    400

    #73B184

    oklch(70.6% 0.092 152.2)

  6. Step 500

    500

    #4A9E65

    oklch(63.2% 0.119 152)

  7. Step 600

    600

    #26884C

    oklch(55.6% 0.128 152.1)

  8. Step 700

    700

    #16733D

    oklch(49% 0.119 152.2)

  9. Step 800

    800

    #175E32

    oklch(42.7% 0.1 151.8)

  10. Step 900

    900

    #1C4D2C

    oklch(37.7% 0.077 151.6)

  11. Step 950

    950 (this color)

    #031E0C

    oklch(20.8% 0.049 151.9)

Export this scale for Tailwind in the Tailwind colors tool

#031E0C 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)#1E1B0B0.041
Deuteranopia (no green cones)#1B180D0.042
Tritanopia (no blue cones)#001D1A0.027
Achromatopsia (no color)#1919190.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E0C

    #031E0C

    oklch(20.8% 0.049 151.9)

  • #240E22

    #240E22

    oklch(20.7% 0.05 330.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E0C

    #031E0C

    oklch(20.8% 0.049 151.9)

  • #141B01

    #141B01

    oklch(20.8% 0.048 122.3)

  • #001D19

    #001D19

    oklch(20.7% 0.037 182.4)

Open the analogous palette in the generator

Split complementary

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

  • #031E0C

    #031E0C

    oklch(20.8% 0.049 151.9)

  • #1C122A

    #1C122A

    oklch(20.9% 0.048 301.6)

  • #290D16

    #290D16

    oklch(20.8% 0.048 2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E0C

    #031E0C

    oklch(20.8% 0.049 151.9)

  • #10162E

    #10162E

    oklch(20.9% 0.048 271.1)

  • #2A0E09

    #2A0E09

    oklch(20.8% 0.048 31.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E0C

    #031E0C

    oklch(20.8% 0.049 151.9)

  • #001A2C

    #001A2C

    oklch(20.8% 0.049 241.4)

  • #240E22

    #240E22

    oklch(20.7% 0.05 330.7)

  • #271200

    #271200

    oklch(20.8% 0.048 62.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031E0C 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.