#04311C

Closest named color: Very Dark Green (#062E03). oklch(27.7% 0.061 157.7), rgb(4, 49, 28).

Aa

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

About this color

#04311C is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.061 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.032 away. White text reads best on it, at 14.37:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.061)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.46:1
White text14.37:1

Values

HEX#04311C
RGBrgb(4, 49, 28)
HSLhsl(152, 85%, 10%)
OKLCHoklch(27.7% 0.061 157.7)

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 #04311C 14.37:1 AAA Lc -103.8 Preferred for body text
Black text on #04311C 1.46:1 Fails Lc 0.0 Not readable
#04311C text on white 14.37:1 AAA Lc 100.9 Preferred for body text
#04311C text on black 1.46: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

    #F0F8F3

    oklch(97.2% 0.011 158.8)

  2. Step 100

    100

    #DFEEE4

    oklch(93.5% 0.021 156.8)

  3. Step 200

    200

    #C4E2CF

    oklch(88.6% 0.041 157.7)

  4. Step 300

    300

    #99CFAF

    oklch(80.8% 0.072 158.3)

  5. Step 400

    400

    #5AB684

    oklch(70.6% 0.116 157.7)

  6. Step 500

    500

    #00A365

    oklch(63% 0.148 157.8)

  7. Step 600

    600

    #008954

    oklch(55.5% 0.13 157.7)

  8. Step 700

    700

    #007446

    oklch(49.2% 0.116 157.5)

  9. Step 800

    800

    #005F39

    oklch(42.8% 0.1 157.9)

  10. Step 900

    900

    #004F2E

    oklch(37.6% 0.089 157.5)

  11. Step 950

    950 (this color)

    #04311C

    oklch(27.7% 0.061 157.7)

Export this scale for Tailwind in the Tailwind colors tool

#04311C 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)#312C1B0.057
Deuteranopia (no green cones)#2B281D0.055
Tritanopia (no blue cones)#00312C0.028
Achromatopsia (no color)#2A2A2A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #04311C

    #04311C

    oklch(27.7% 0.061 157.7)

  • #3B1B33

    #3B1B33

    oklch(27.7% 0.062 337.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04311C

    #04311C

    oklch(27.7% 0.061 157.7)

  • #202E08

    #202E08

    oklch(27.9% 0.062 127.5)

  • #00302C

    #00302C

    oklch(27.8% 0.049 186.1)

Open the analogous palette in the generator

Split complementary

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

  • #04311C

    #04311C

    oklch(27.7% 0.061 157.7)

  • #301F3F

    #301F3F

    oklch(27.6% 0.061 307.4)

  • #411A23

    #411A23

    oklch(27.9% 0.061 7.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04311C

    #04311C

    oklch(27.7% 0.061 157.7)

  • #212446

    #212446

    oklch(27.6% 0.062 277.7)

  • #411C11

    #411C11

    oklch(27.8% 0.061 37.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04311C

    #04311C

    oklch(27.7% 0.061 157.7)

  • #0A2A45

    #0A2A45

    oklch(27.7% 0.062 248)

  • #3B1B33

    #3B1B33

    oklch(27.7% 0.062 337.3)

  • #3C2100

    #3C2100

    oklch(27.7% 0.062 66.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04311C 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.