#031F02

Closest named color: Dark Forest Green (#002D04). oklch(21% 0.065 142.1), rgb(3, 31, 2).

Aa

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

About this color

#031F02 is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.065 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.052 away. White text reads best on it, at 17.48:1.

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

Values

HEX#031F02
RGBrgb(3, 31, 2)
HSLhsl(118, 88%, 6%)
OKLCHoklch(21% 0.065 142.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 #031F02 17.48:1 AAA Lc -106.4 Preferred for body text
Black text on #031F02 1.20:1 Fails Lc 0.0 Not readable
#031F02 text on white 17.48:1 AAA Lc 104.1 Preferred for body text
#031F02 text on black 1.20: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

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #CAE1C7

    oklch(88.6% 0.043 142)

  4. Step 300

    300

    #A5CEA0

    oklch(81% 0.077 142)

  5. Step 400

    400

    #72B46C

    oklch(70.8% 0.122 142.3)

  6. Step 500

    500

    #49A042

    oklch(63.1% 0.156 142.2)

  7. Step 600

    600

    #258A1D

    oklch(55.5% 0.17 142)

  8. Step 700

    700

    #15750D

    oklch(49.1% 0.158 142.1)

  9. Step 800

    800

    #166011

    oklch(42.9% 0.131 142.2)

  10. Step 900

    900

    #1B4E17

    oklch(37.6% 0.101 142.1)

  11. Step 950

    950 (this color)

    #031F02

    oklch(21% 0.065 142.1)

Export this scale for Tailwind in the Tailwind colors tool

#031F02 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)#201B000.045
Deuteranopia (no green cones)#1D19040.045
Tritanopia (no blue cones)#001E190.042
Achromatopsia (no color)#1A1A1A0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #031F02

    #031F02

    oklch(21% 0.065 142.1)

  • #250C29

    #250C29

    oklch(20.9% 0.063 321.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031F02

    #031F02

    oklch(21% 0.065 142.1)

  • #191A00

    #191A00

    oklch(21% 0.046 111.7)

  • #001E16

    #001E16

    oklch(20.9% 0.041 172.1)

Open the analogous palette in the generator

Split complementary

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

  • #031F02

    #031F02

    oklch(21% 0.065 142.1)

  • #1A1133

    #1A1133

    oklch(21.1% 0.064 292.2)

  • #2D081B

    #2D081B

    oklch(20.9% 0.065 352.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031F02

    #031F02

    oklch(21% 0.065 142.1)

  • #071635

    #071635

    oklch(20.9% 0.065 262.5)

  • #30080A

    #30080A

    oklch(21% 0.065 21.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031F02

    #031F02

    oklch(21% 0.065 142.1)

  • #001B28

    #001B28

    oklch(20.9% 0.043 232)

  • #250C29

    #250C29

    oklch(20.9% 0.063 321.9)

  • #2B0F00

    #2B0F00

    oklch(20.9% 0.055 50.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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