#042F18
Closest named color: Very Dark Green (#062E03). oklch(27% 0.063 154.7), rgb(4, 47, 24).
Aa
White text reads best on this color (14.73:1).
About this color
#042F18 is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.063 and its hue 155°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.026 away. White text reads best on it, at 14.73:1.
| Hue family | Greens |
| Lightness | dark (27%) |
| Chroma | muted (0.063) |
| Temperature | in between |
| Nearest name | Very Dark Green (#062E03) |
| Black text | 1.42:1 |
| White text | 14.73:1 |
Values
| HEX | #042F18 |
| RGB | rgb(4, 47, 24) |
| HSL | hsl(148, 84%, 10%) |
| OKLCH | oklch(27% 0.063 154.7) |
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 #042F18 | 14.73:1 | AAA | Lc -104.2 | Preferred for body text |
| Black text on #042F18 | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #042F18 text on white | 14.73:1 | AAA | Lc 101.3 | Preferred for body text |
| #042F18 text on black | 1.42: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
#F1F7F2
oklch(97% 0.009 150.7)
-
Step 100
100
#DFEEE4
oklch(93.5% 0.021 156.8)
-
Step 200
200
#C5E2CD
oklch(88.6% 0.042 154)
-
Step 300
300
#9BCFAC
oklch(80.9% 0.073 155)
-
Step 400
400
#5DB67F
oklch(70.6% 0.119 154.8)
-
Step 500
500
#15A35E
oklch(63% 0.152 154.7)
-
Step 600
600
#008A4D
oklch(55.6% 0.138 154.7)
-
Step 700
700
#007440
oklch(49.1% 0.122 154.8)
-
Step 800
800
#005F33
oklch(42.6% 0.106 154.6)
-
Step 900
900
#004F2A
oklch(37.6% 0.093 154.9)
-
Step 950
950 (this color)
#042F18
oklch(27% 0.063 154.7)
#042F18 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) | #2F2A16 | 0.056 |
| Deuteranopia (no green cones) | #2A271A | 0.054 |
| Tritanopia (no blue cones) | #002E29 | 0.031 |
| Achromatopsia (no color) | #282828 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042F18
#042F18
oklch(27% 0.063 154.7)
- #381933
#381933
oklch(26.9% 0.063 333.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 #042F18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Green #062E03 ΔE 0.026
- Dark Forest Green #002D04 ΔE 0.027
- Pakistan Green #283618 ΔE 0.050
- Jet #212529 ΔE 0.064
- Hunter Green #0B4008 ΔE 0.069
- Dark #1B2431 ΔE 0.075
- Evergreen #05472A ΔE 0.084
- Forrest Green #154406 ΔE 0.084
Use #042F18 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.