#04581C

Closest named color: Deep Green (#02590F). oklch(40.2% 0.118 146.7), rgb(4, 88, 28).

Aa

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

About this color

#04581C is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.118 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.012 away. White text reads best on it, at 8.68:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.41:1
White text8.68:1

Values

HEX#04581C
RGBrgb(4, 88, 28)
HSLhsl(137, 91%, 18%)
OKLCHoklch(40.2% 0.118 146.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 #04581C 8.68:1 AAA Lc -93.8 Preferred for body text
Black text on #04581C 2.41:1 Fails Lc 14.7 Not readable
#04581C text on white 8.68:1 AAA Lc 89.2 Fine for body text
#04581C text on black 2.41:1 Fails Lc -13.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 900.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #DFEFE0

    oklch(93.6% 0.026 147.1)

  3. Step 200

    200

    #C5E2C7

    oklch(88.4% 0.048 147.1)

  4. Step 300

    300

    #9BD19F

    oklch(81% 0.089 146.6)

  5. Step 400

    400

    #5EB86A

    oklch(70.7% 0.142 146.7)

  6. Step 500

    500

    #1AA53F

    oklch(63.2% 0.181 146.7)

  7. Step 600

    600

    #008C2F

    oklch(55.7% 0.167 146.6)

  8. Step 700

    700

    #007526

    oklch(49% 0.147 146.7)

  9. Step 800

    800

    #00601E

    oklch(42.6% 0.127 146.7)

  10. Step 900

    900 (this color)

    #04581C

    oklch(40.2% 0.118 146.7)

  11. Step 950

    950

    #05300E

    oklch(27.2% 0.075 146.6)

Export this scale for Tailwind in the Tailwind colors tool

#04581C 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)#594F150.090
Deuteranopia (no green cones)#5149210.090
Tritanopia (no blue cones)#00564B0.070
Achromatopsia (no color)#4B4B4B0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #04581C

    #04581C

    oklch(40.2% 0.118 146.7)

  • #682D69

    #682D69

    oklch(40.3% 0.118 326.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04581C

    #04581C

    oklch(40.2% 0.118 146.7)

  • #454E00

    #454E00

    oklch(40.2% 0.093 117.1)

  • #005547

    #005547

    oklch(40.2% 0.075 176.6)

Open the analogous palette in the generator

Split complementary

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

  • #04581C

    #04581C

    oklch(40.2% 0.118 146.7)

  • #50377F

    #50377F

    oklch(40.3% 0.117 296.8)

  • #772649

    #772649

    oklch(40.2% 0.118 357.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04581C

    #04581C

    oklch(40.2% 0.118 146.7)

  • #2B4387

    #2B4387

    oklch(40.3% 0.117 266.5)

  • #7B2723

    #7B2723

    oklch(40.1% 0.118 26.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04581C

    #04581C

    oklch(40.2% 0.118 146.7)

  • #004E71

    #004E71

    oklch(40.2% 0.088 236.9)

  • #682D69

    #682D69

    oklch(40.3% 0.118 326.8)

  • #6E3800

    #6E3800

    oklch(40.2% 0.097 57.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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