#031F0F

Closest named color: Dark Forest Green (#002D04). oklch(21.2% 0.047 155.3), rgb(3, 31, 15).

Aa

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

About this color

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

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

Values

HEX#031F0F
RGBrgb(3, 31, 15)
HSLhsl(146, 82%, 7%)
OKLCHoklch(21.2% 0.047 155.3)

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 #031F0F 17.40:1 AAA Lc -106.4 Preferred for body text
Black text on #031F0F 1.20:1 Fails Lc 0.0 Not readable
#031F0F text on white 17.40:1 AAA Lc 104.1 Preferred for body text
#031F0F 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CAE0D0

    oklch(88.6% 0.032 154.1)

  4. Step 300

    300

    #A5CCB1

    oklch(80.9% 0.056 154.8)

  5. Step 400

    400

    #72B188

    oklch(70.6% 0.089 154.9)

  6. Step 500

    500

    #489E6B

    oklch(63.2% 0.114 155.2)

  7. Step 600

    600

    #218852

    oklch(55.6% 0.124 155.1)

  8. Step 700

    700

    #107343

    oklch(49% 0.115 155.4)

  9. Step 800

    800

    #145E37

    oklch(42.7% 0.096 155)

  10. Step 900

    900

    #1A4D30

    oklch(37.7% 0.074 155.3)

  11. Step 950

    950 (this color)

    #031F0F

    oklch(21.2% 0.047 155.3)

Export this scale for Tailwind in the Tailwind colors tool

#031F0F 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)#1F1C0E0.042
Deuteranopia (no green cones)#1B19100.041
Tritanopia (no blue cones)#001F1B0.022
Achromatopsia (no color)#1A1A1A0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #031F0F

    #031F0F

    oklch(21.2% 0.047 155.3)

  • #261021

    #261021

    oklch(21.3% 0.046 336.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031F0F

    #031F0F

    oklch(21.2% 0.047 155.3)

  • #141C03

    #141C03

    oklch(21.1% 0.046 124.4)

  • #001E1B

    #001E1B

    oklch(21.1% 0.037 185.6)

Open the analogous palette in the generator

Split complementary

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

  • #031F0F

    #031F0F

    oklch(21.2% 0.047 155.3)

  • #1E132A

    #1E132A

    oklch(21.3% 0.046 304.9)

  • #2A0E16

    #2A0E16

    oklch(21.1% 0.048 4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031F0F

    #031F0F

    oklch(21.2% 0.047 155.3)

  • #13162E

    #13162E

    oklch(21.1% 0.047 276.2)

  • #2B1009

    #2B1009

    oklch(21.3% 0.047 35.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031F0F

    #031F0F

    oklch(21.2% 0.047 155.3)

  • #031A2D

    #031A2D

    oklch(21.1% 0.048 246)

  • #261021

    #261021

    oklch(21.3% 0.046 336.2)

  • #271400

    #271400

    oklch(21.3% 0.047 67.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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