#04562C

Closest named color: Spruce (#0A5F38). oklch(39.8% 0.1 153.3), rgb(4, 86, 44).

Aa

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

About this color

#04562C is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.100 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.031 away. White text reads best on it, at 8.85:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.37:1
White text8.85:1

Values

HEX#04562C
RGBrgb(4, 86, 44)
HSLhsl(149, 91%, 18%)
OKLCHoklch(39.8% 0.1 153.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 #04562C 8.85:1 AAA Lc -94.3 Preferred for body text
Black text on #04562C 2.37:1 Fails Lc 14.2 Not readable
#04562C text on white 8.85:1 AAA Lc 89.8 Fine for body text
#04562C text on black 2.37:1 Fails Lc -12.5 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E0EEE3

    oklch(93.6% 0.021 152.2)

  3. Step 200

    200

    #C5E2CC

    oklch(88.5% 0.043 152.7)

  4. Step 300

    300

    #9CCFAA

    oklch(80.9% 0.074 153)

  5. Step 400

    400

    #5FB67D

    oklch(70.7% 0.119 153.4)

  6. Step 500

    500

    #1DA35B

    oklch(63.1% 0.153 153.3)

  7. Step 600

    600

    #008A49

    oklch(55.5% 0.142 153.3)

  8. Step 700

    700

    #00743C

    oklch(49% 0.126 153.1)

  9. Step 800

    800

    #005F31

    oklch(42.6% 0.108 153.6)

  10. Step 900

    900 (this color)

    #04562C

    oklch(39.8% 0.1 153.3)

  11. Step 950

    950

    #052F17

    oklch(27% 0.063 153.4)

Export this scale for Tailwind in the Tailwind colors tool

#04562C 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)#564E290.086
Deuteranopia (no green cones)#4D482F0.084
Tritanopia (no blue cones)#00554C0.052
Achromatopsia (no color)#4A4A4A0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #04562C

    #04562C

    oklch(39.8% 0.1 153.3)

  • #66305E

    #66305E

    oklch(39.9% 0.1 333.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04562C

    #04562C

    oklch(39.8% 0.1 153.3)

  • #3D4F00

    #3D4F00

    oklch(39.8% 0.098 123.3)

  • #00534B

    #00534B

    oklch(39.7% 0.07 183.8)

Open the analogous palette in the generator

Split complementary

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

  • #04562C

    #04562C

    oklch(39.8% 0.1 153.3)

  • #533873

    #533873

    oklch(40% 0.1 303.3)

  • #712C42

    #712C42

    oklch(39.8% 0.1 2.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04562C

    #04562C

    oklch(39.8% 0.1 153.3)

  • #36417C

    #36417C

    oklch(39.7% 0.1 273.1)

  • #732F21

    #732F21

    oklch(39.8% 0.1 33.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04562C

    #04562C

    oklch(39.8% 0.1 153.3)

  • #004B77

    #004B77

    oklch(39.7% 0.098 243.8)

  • #66305E

    #66305E

    oklch(39.9% 0.1 333.1)

  • #683A00

    #683A00

    oklch(39.7% 0.09 63.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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