#042F07
Closest named color: Very Dark Green (#062E03). oklch(26.7% 0.081 144), rgb(4, 47, 7).
Aa
White text reads best on this color (14.84:1).
About this color
#042F07 is a dark, moderately saturated green. In OKLCH its lightness is 27%, its chroma 0.081 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.005 away. White text reads best on it, at 14.84:1.
| Hue family | Greens |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.081) |
| Temperature | in between |
| Nearest name | Very Dark Green (#062E03) |
| Black text | 1.41:1 |
| White text | 14.84:1 |
Values
| HEX | #042F07 |
| RGB | rgb(4, 47, 7) |
| HSL | hsl(124, 84%, 10%) |
| OKLCH | oklch(26.7% 0.081 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 #042F07 | 14.84:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #042F07 | 1.41:1 | Fails | Lc 0.0 | Not readable |
| #042F07 text on white | 14.84:1 | AAA | Lc 101.4 | Preferred for body text |
| #042F07 text on black | 1.41: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
#C5E3C3
oklch(88.5% 0.054 143.4)
-
Step 300
300
#9BD199
oklch(80.9% 0.096 143.8)
-
Step 400
400
#5EB95F
oklch(70.8% 0.154 143.9)
-
Step 500
500
#1BA52B
oklch(63% 0.195 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
#00510B
oklch(37.8% 0.122 144)
-
Step 950
950 (this color)
#042F07
oklch(26.7% 0.081 144)
#042F07 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) | #302A03 | 0.058 |
| Deuteranopia (no green cones) | #2B260B | 0.059 |
| Tritanopia (no blue cones) | #002D27 | 0.052 |
| Achromatopsia (no color) | #272727 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042F07
#042F07
oklch(26.7% 0.081 144)
- #38153B
#38153B
oklch(26.7% 0.08 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 #042F07, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Green #062E03 ΔE 0.005
- Dark Forest Green #002D04 ΔE 0.009
- Pakistan Green #283618 ΔE 0.055
- Hunter Green #0B4008 ΔE 0.062
- Forrest Green #154406 ΔE 0.078
- Racing Green #014600 ΔE 0.083
- Jet #212529 ΔE 0.084
- Evergreen #05472A ΔE 0.087
Use #042F07 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.