#042E08
Closest named color: Very Dark Green (#062E03). oklch(26.4% 0.078 144.5), rgb(4, 46, 8).
Aa
White text reads best on this color (15.00:1).
About this color
#042E08 is a dark, moderately saturated green. In OKLCH its lightness is 26%, its chroma 0.078 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.006 away. White text reads best on it, at 15.00:1.
| Hue family | Greens |
| Lightness | dark (26%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Very Dark Green (#062E03) |
| Black text | 1.39:1 |
| White text | 15.00:1 |
Values
| HEX | #042E08 |
| RGB | rgb(4, 46, 8) |
| HSL | hsl(126, 84%, 10%) |
| OKLCH | oklch(26.4% 0.078 144.5) |
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 #042E08 | 15.00:1 | AAA | Lc -104.4 | Preferred for body text |
| Black text on #042E08 | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #042E08 text on white | 15.00:1 | AAA | Lc 101.6 | Preferred for body text |
| #042E08 text on black | 1.39: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
#DFEFDF
oklch(93.6% 0.027 145.4)
-
Step 200
200
#C5E3C4
oklch(88.6% 0.053 144.3)
-
Step 300
300
#9CD19B
oklch(81% 0.093 144.2)
-
Step 400
400
#5FB863
oklch(70.7% 0.148 144.7)
-
Step 500
500
#20A532
oklch(63.1% 0.189 144.5)
-
Step 600
600
#008C1F
oklch(55.6% 0.178 144.4)
-
Step 700
700
#007619
oklch(49.1% 0.157 144.5)
-
Step 800
800
#006113
oklch(42.8% 0.136 144.5)
-
Step 900
900
#00510E
oklch(37.8% 0.121 144.5)
-
Step 950
950 (this color)
#042E08
oklch(26.4% 0.078 144.5)
#042E08 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) | #2F2904 | 0.057 |
| Deuteranopia (no green cones) | #2A250C | 0.058 |
| Tritanopia (no blue cones) | #002C26 | 0.049 |
| Achromatopsia (no color) | #272727 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042E08
#042E08
oklch(26.4% 0.078 144.5)
- #37153A
#37153A
oklch(26.5% 0.078 324.3)
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 #042E08, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Green #062E03 ΔE 0.006
- Dark Forest Green #002D04 ΔE 0.007
- Pakistan Green #283618 ΔE 0.057
- Hunter Green #0B4008 ΔE 0.066
- Jet #212529 ΔE 0.081
- Forrest Green #154406 ΔE 0.082
- Racing Green #014600 ΔE 0.087
- Dark Brown #341C02 ΔE 0.088
Use #042E08 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.