#031204

Closest named color: Almost Black (#070D0D). oklch(16.2% 0.039 145.4), rgb(3, 18, 4).

Aa

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

About this color

#031204 is a very dark, muted green. In OKLCH its lightness is 16%, its chroma 0.039 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.035 away. White text reads best on it, at 19.22:1.

Hue familyGreens
Lightnessvery dark (16%)
Chromamuted (0.039)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.09:1
White text19.22:1

Values

HEX#031204
RGBrgb(3, 18, 4)
HSLhsl(124, 71%, 4%)
OKLCHoklch(16.2% 0.039 145.4)

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 #031204 19.22:1 AAA Lc -107.5 Preferred for body text
Black text on #031204 1.09:1 Fails Lc 0.0 Not readable
#031204 text on white 19.22:1 AAA Lc 105.5 Preferred for body text
#031204 text on black 1.09: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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E5ECE4

    oklch(93.6% 0.013 141.8)

  3. Step 200

    200

    #CFDECF

    oklch(88.5% 0.026 145.4)

  4. Step 300

    300

    #AFC9AF

    oklch(80.9% 0.046 145.1)

  5. Step 400

    400

    #83AD85

    oklch(70.6% 0.073 146)

  6. Step 500

    500

    #639966

    oklch(63.1% 0.095 145.6)

  7. Step 600

    600

    #49834D

    oklch(55.6% 0.102 145.5)

  8. Step 700

    700

    #3A6F3E

    oklch(49.2% 0.095 145.5)

  9. Step 800

    800

    #305A33

    oklch(42.6% 0.079 145.6)

  10. Step 900

    900

    #2B4A2D

    oklch(37.6% 0.061 145.7)

  11. Step 950

    950 (this color)

    #031204

    oklch(16.2% 0.039 145.4)

Export this scale for Tailwind in the Tailwind colors tool

#031204 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)#1210030.028
Deuteranopia (no green cones)#100E050.030
Tritanopia (no blue cones)#02110E0.024
Achromatopsia (no color)#0F0F0F0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #031204

    #031204

    oklch(16.2% 0.039 145.4)

  • #160717

    #160717

    oklch(16.2% 0.04 325)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031204

    #031204

    oklch(16.2% 0.039 145.4)

  • #0D0F00

    #0D0F00

    oklch(16.1% 0.036 115)

  • #00120D

    #00120D

    oklch(16.3% 0.031 174.9)

Open the analogous palette in the generator

Split complementary

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

  • #031204

    #031204

    oklch(16.2% 0.039 145.4)

  • #0F0A1D

    #0F0A1D

    oklch(16.3% 0.039 293.7)

  • #1A060E

    #1A060E

    oklch(16.1% 0.039 356.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031204

    #031204

    oklch(16.2% 0.039 145.4)

  • #060D1E

    #060D1E

    oklch(16.3% 0.038 264.4)

  • #1C0605

    #1C0605

    oklch(16.2% 0.04 26.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031204

    #031204

    oklch(16.2% 0.039 145.4)

  • #00101A

    #00101A

    oklch(16.3% 0.034 233.4)

  • #160717

    #160717

    oklch(16.2% 0.04 325)

  • #1A0800

    #1A0800

    oklch(16.1% 0.04 55.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031204 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.