#04542D
Closest named color: Spruce (#0A5F38). oklch(39.2% 0.096 154.4), rgb(4, 84, 45).
Aa
White text reads best on this color (9.08:1).
About this color
#04542D is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.096 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.037 away. White text reads best on it, at 9.08:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.096) |
| Temperature | in between |
| Nearest name | Spruce (#0A5F38) |
| Black text | 2.31:1 |
| White text | 9.08:1 |
Values
| HEX | #04542D |
| RGB | rgb(4, 84, 45) |
| HSL | hsl(151, 91%, 17%) |
| OKLCH | oklch(39.2% 0.096 154.4) |
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 #04542D | 9.08:1 | AAA | Lc -94.8 | Preferred for body text |
| Black text on #04542D | 2.31:1 | Fails | Lc 13.6 | Not readable |
| #04542D text on white | 9.08:1 | AAA | Lc 90.4 | Preferred for body text |
| #04542D text on black | 2.31:1 | Fails | Lc -11.9 | 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
#F1F7F3
oklch(97.1% 0.008 157.1)
-
Step 100
100
#E0EEE4
oklch(93.6% 0.02 154.9)
-
Step 200
200
#C6E1CE
oklch(88.5% 0.039 154.9)
-
Step 300
300
#9CCFAC
oklch(80.9% 0.072 154.5)
-
Step 400
400
#61B680
oklch(70.8% 0.115 154.3)
-
Step 500
500
#22A25F
oklch(63% 0.147 154.4)
-
Step 600
600
#008A4C
oklch(55.6% 0.139 154.3)
-
Step 700
700
#00743F
oklch(49.1% 0.123 154.3)
-
Step 800
800
#005F33
oklch(42.6% 0.106 154.6)
-
Step 900
900 (this color)
#04542D
oklch(39.2% 0.096 154.4)
-
Step 950
950
#062F18
oklch(27.1% 0.062 154)
#04542D 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) | #544C2A | 0.085 |
| Deuteranopia (no green cones) | #4B4630 | 0.083 |
| Tritanopia (no blue cones) | #00534A | 0.047 |
| Achromatopsia (no color) | #484848 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04542D
#04542D
oklch(39.2% 0.096 154.4)
- #642F5A
#642F5A
oklch(39.2% 0.097 334.9)
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 #04542D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Spruce #0A5F38 ΔE 0.037
- Forest #0B5509 ΔE 0.037
- Pine Green #0A481E ΔE 0.040
- Deep Green #02590F ΔE 0.040
- Pine #2B5D34 ΔE 0.042
- Navy Green #35530A ΔE 0.043
- Evergreen #05472A ΔE 0.044
- Bottle Green #044A05 ΔE 0.047
Use #04542D 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.