#042D04
Closest named color: Dark Forest Green (#002D04). oklch(26% 0.081 142.8), rgb(4, 45, 4).
Aa
White text reads best on this color (15.19:1).
About this color
#042D04 is a dark, moderately saturated green. In OKLCH its lightness is 26%, its chroma 0.081 and its hue 143°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.003 away. White text reads best on it, at 15.19:1.
| Hue family | Greens |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.081) |
| Temperature | in between |
| Nearest name | Dark Forest Green (#002D04) |
| Black text | 1.38:1 |
| White text | 15.19:1 |
Values
| HEX | #042D04 |
| RGB | rgb(4, 45, 4) |
| HSL | hsl(120, 84%, 10%) |
| OKLCH | oklch(26% 0.081 142.8) |
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 #042D04 | 15.19:1 | AAA | Lc -104.6 | Preferred for body text |
| Black text on #042D04 | 1.38:1 | Fails | Lc 0.0 | Not readable |
| #042D04 text on white | 15.19:1 | AAA | Lc 101.8 | Preferred for body text |
| #042D04 text on black | 1.38:1 | Fails | Lc 0.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 950.
-
Step 50
50
#F1F8F0
oklch(97.2% 0.013 141.8)
-
Step 100
100
#E0EFDE
oklch(93.6% 0.028 142)
-
Step 200
200
#C5E3C3
oklch(88.5% 0.054 143.4)
-
Step 300
300
#9CD198
oklch(80.9% 0.096 142.9)
-
Step 400
400
#61B85C
oklch(70.6% 0.154 142.7)
-
Step 500
500
#25A525
oklch(63.1% 0.196 142.8)
-
Step 600
600
#008C07
oklch(55.5% 0.187 142.8)
-
Step 700
700
#007605
oklch(49% 0.165 142.8)
-
Step 800
800
#006103
oklch(42.7% 0.144 142.8)
-
Step 900
900
#005102
oklch(37.7% 0.127 142.8)
-
Step 950
950 (this color)
#042D04
oklch(26% 0.081 142.8)
#042D04 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) | #2E2800 | 0.056 |
| Deuteranopia (no green cones) | #2A2408 | 0.059 |
| Tritanopia (no blue cones) | #002B25 | 0.053 |
| Achromatopsia (no color) | #262626 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042D04
#042D04
oklch(26% 0.081 142.8)
- #36133A
#36133A
oklch(26% 0.081 323.5)
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 #042D04, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Forest Green #002D04 ΔE 0.003
- Very Dark Green #062E03 ΔE 0.005
- Pakistan Green #283618 ΔE 0.061
- Hunter Green #0B4008 ΔE 0.068
- Jet #212529 ΔE 0.084
- Forrest Green #154406 ΔE 0.085
- Dark Brown #341C02 ΔE 0.088
- Racing Green #014600 ΔE 0.089
Use #042D04 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.