#04520E
Closest named color: Forest (#0B5509). oklch(38.2% 0.121 144), rgb(4, 82, 14).
Aa
White text reads best on this color (9.46:1).
About this color
#04520E is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.121 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest (#0B5509), ΔE 0.012 away. White text reads best on it, at 9.46:1.
| Hue family | Greens |
| Lightness | dark (38%) |
| Chroma | moderately saturated (0.121) |
| Temperature | in between |
| Nearest name | Forest (#0B5509) |
| Black text | 2.21:1 |
| White text | 9.46:1 |
Values
| HEX | #04520E |
| RGB | rgb(4, 82, 14) |
| HSL | hsl(128, 91%, 17%) |
| OKLCH | oklch(38.2% 0.121 144) |
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 #04520E | 9.46:1 | AAA | Lc -95.7 | Preferred for body text |
| Black text on #04520E | 2.21:1 | Fails | Lc 12.6 | Not readable |
| #04520E text on white | 9.46:1 | AAA | Lc 91.3 | Preferred for body text |
| #04520E text on black | 2.21:1 | Fails | Lc -11.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.
-
Step 50
50
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E0EFDF
oklch(93.7% 0.027 143.6)
-
Step 200
200
#C6E2C5
oklch(88.4% 0.049 144.2)
-
Step 300
300
#9DD09C
oklch(80.8% 0.09 144.2)
-
Step 400
400
#63B763
oklch(70.6% 0.144 143.9)
-
Step 500
500
#29A433
oklch(63% 0.185 144)
-
Step 600
600
#008C1A
oklch(55.6% 0.18 144)
-
Step 700
700
#007615
oklch(49.1% 0.159 144)
-
Step 800
800
#00610F
oklch(42.8% 0.139 144)
-
Step 900
900 (this color)
#04520E
oklch(38.2% 0.121 144)
-
Step 950
950
#082F0A
oklch(26.9% 0.076 143.8)
#04520E 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) | #544902 | 0.088 |
| Deuteranopia (no green cones) | #4C4416 | 0.087 |
| Tritanopia (no blue cones) | #004F45 | 0.077 |
| Achromatopsia (no color) | #464646 | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04520E
#04520E
oklch(38.2% 0.121 144)
- #612766
#612766
oklch(38.2% 0.12 324.4)
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 #04520E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Forest #0B5509 ΔE 0.012
- Deep Green #02590F ΔE 0.023
- Bottle Green #044A05 ΔE 0.026
- Darkgreen #054907 ΔE 0.030
- British Racing Green #05480D ΔE 0.034
- Navy Green #35530A ΔE 0.039
- Racing Green #014600 ΔE 0.040
- Pine Green #0A481E ΔE 0.041
Use #04520E 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.