#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 family | Greens |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.100) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.37:1 |
| White text | 8.85:1 |
Values
| HEX | #04562C |
| RGB | rgb(4, 86, 44) |
| HSL | hsl(149, 91%, 18%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F1F7F2
oklch(97% 0.009 150.7)
-
Step 100
100
#E0EEE3
oklch(93.6% 0.021 152.2)
-
Step 200
200
#C5E2CC
oklch(88.5% 0.043 152.7)
-
Step 300
300
#9CCFAA
oklch(80.9% 0.074 153)
-
Step 400
400
#5FB67D
oklch(70.7% 0.119 153.4)
-
Step 500
500
#1DA35B
oklch(63.1% 0.153 153.3)
-
Step 600
600
#008A49
oklch(55.5% 0.142 153.3)
-
Step 700
700
#00743C
oklch(49% 0.126 153.1)
-
Step 800
800
#005F31
oklch(42.6% 0.108 153.6)
-
Step 900
900 (this color)
#04562C
oklch(39.8% 0.1 153.3)
-
Step 950
950
#052F17
oklch(27% 0.063 153.4)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #564E29 | 0.086 |
| Deuteranopia (no green cones) | #4D482F | 0.084 |
| Tritanopia (no blue cones) | #00554C | 0.052 |
| Achromatopsia (no color) | #4A4A4A | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Spruce #0A5F38 ΔE 0.031
- Forest #0B5509 ΔE 0.034
- Deep Green #02590F ΔE 0.035
- Pine #2B5D34 ΔE 0.038
- Navy Green #35530A ΔE 0.041
- Pine Green #0A481E ΔE 0.046
- Bottle Green #044A05 ΔE 0.050
- Darkgreen #054907 ΔE 0.051
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.