#04311D

Closest named color: Very Dark Green (#062E03). oklch(27.8% 0.06 158.8), rgb(4, 49, 29).

Aa

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

About this color

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

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

Values

HEX#04311D
RGBrgb(4, 49, 29)
HSLhsl(153, 85%, 10%)
OKLCHoklch(27.8% 0.06 158.8)

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 #04311D 14.36:1 AAA Lc -103.8 Preferred for body text
Black text on #04311D 1.46:1 Fails Lc 0.0 Not readable
#04311D text on white 14.36:1 AAA Lc 100.8 Preferred for body text
#04311D 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

    #F0F7F3

    oklch(97% 0.009 161.4)

  2. Step 100

    100

    #DFEEE5

    oklch(93.5% 0.02 159.7)

  3. Step 200

    200

    #C4E2D0

    oklch(88.6% 0.04 159.2)

  4. Step 300

    300

    #99CFB0

    oklch(80.8% 0.071 159.1)

  5. Step 400

    400

    #5AB686

    oklch(70.7% 0.114 158.7)

  6. Step 500

    500

    #00A368

    oklch(63.1% 0.145 158.9)

  7. Step 600

    600

    #008957

    oklch(55.5% 0.128 159.1)

  8. Step 700

    700

    #007348

    oklch(49% 0.113 158.9)

  9. Step 800

    800

    #005F3A

    oklch(42.8% 0.099 158.5)

  10. Step 900

    900

    #004F30

    oklch(37.7% 0.087 158.9)

  11. Step 950

    950 (this color)

    #04311D

    oklch(27.8% 0.06 158.8)

Export this scale for Tailwind in the Tailwind colors tool

#04311D 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)#302C1C0.056
Deuteranopia (no green cones)#2B281E0.055
Tritanopia (no blue cones)#00312C0.026
Achromatopsia (no color)#2A2A2A0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #04311D

    #04311D

    oklch(27.8% 0.06 158.8)

  • #3B1B32

    #3B1B32

    oklch(27.7% 0.061 338.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04311D

    #04311D

    oklch(27.8% 0.06 158.8)

  • #1F2E0A

    #1F2E0A

    oklch(27.8% 0.06 129)

  • #00302D

    #00302D

    oklch(27.9% 0.048 188.2)

Open the analogous palette in the generator

Split complementary

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

  • #04311D

    #04311D

    oklch(27.8% 0.06 158.8)

  • #311F3F

    #311F3F

    oklch(27.8% 0.061 308.8)

  • #411A22

    #411A22

    oklch(27.8% 0.061 9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04311D

    #04311D

    oklch(27.8% 0.06 158.8)

  • #222445

    #222445

    oklch(27.7% 0.06 279)

  • #411C10

    #411C10

    oklch(27.7% 0.061 38.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04311D

    #04311D

    oklch(27.8% 0.06 158.8)

  • #0C2A44

    #0C2A44

    oklch(27.7% 0.06 248.1)

  • #3B1B32

    #3B1B32

    oklch(27.7% 0.061 338.8)

  • #3B2200

    #3B2200

    oklch(27.8% 0.06 69.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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