#031D02

Closest named color: Dark Forest Green (#002D04). oklch(20.2% 0.062 142), rgb(3, 29, 2).

Aa

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

About this color

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

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.18:1
White text17.78:1

Values

HEX#031D02
RGBrgb(3, 29, 2)
HSLhsl(118, 87%, 6%)
OKLCHoklch(20.2% 0.062 142)

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 #031D02 17.78:1 AAA Lc -106.6 Preferred for body text
Black text on #031D02 1.18:1 Fails Lc 0.0 Not readable
#031D02 text on white 17.78:1 AAA Lc 104.4 Preferred for body text
#031D02 text on black 1.18: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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE1

    oklch(93.7% 0.021 143.2)

  3. Step 200

    200

    #CBE0C8

    oklch(88.4% 0.039 141.7)

  4. Step 300

    300

    #A6CDA2

    oklch(80.9% 0.073 142.4)

  5. Step 400

    400

    #75B36E

    oklch(70.7% 0.117 141.9)

  6. Step 500

    500

    #4D9F46

    oklch(63% 0.149 142.1)

  7. Step 600

    600

    #2C8924

    oklch(55.5% 0.162 142)

  8. Step 700

    700

    #1D7416

    oklch(49% 0.15 142)

  9. Step 800

    800

    #1B5F16

    oklch(42.7% 0.125 142.1)

  10. Step 900

    900

    #1E4E19

    oklch(37.8% 0.098 141.8)

  11. Step 950

    950 (this color)

    #031D02

    oklch(20.2% 0.062 142)

Export this scale for Tailwind in the Tailwind colors tool

#031D02 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)#1E19000.043
Deuteranopia (no green cones)#1B17040.044
Tritanopia (no blue cones)#001C170.039
Achromatopsia (no color)#1818180.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #031D02

    #031D02

    oklch(20.2% 0.062 142)

  • #230B27

    #230B27

    oklch(20.3% 0.062 321.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031D02

    #031D02

    oklch(20.2% 0.062 142)

  • #171800

    #171800

    oklch(20.1% 0.044 111.8)

  • #001C14

    #001C14

    oklch(20.2% 0.039 171.2)

Open the analogous palette in the generator

Split complementary

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

  • #031D02

    #031D02

    oklch(20.2% 0.062 142)

  • #180F30

    #180F30

    oklch(20.2% 0.063 292.4)

  • #2A0819

    #2A0819

    oklch(20.3% 0.061 352.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031D02

    #031D02

    oklch(20.2% 0.062 142)

  • #061532

    #061532

    oklch(20.3% 0.061 261.4)

  • #2D0709

    #2D0709

    oklch(20.2% 0.062 21.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031D02

    #031D02

    oklch(20.2% 0.062 142)

  • #001926

    #001926

    oklch(20.1% 0.042 233.4)

  • #230B27

    #230B27

    oklch(20.3% 0.062 321.7)

  • #280E00

    #280E00

    oklch(20.2% 0.052 52)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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