#042118
Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.039 169), rgb(4, 33, 24).
Aa
White text reads best on this color (16.99:1).
About this color
#042118 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.039 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.050 away. White text reads best on it, at 16.99:1.
| Hue family | Greens |
| Lightness | very dark (22%) |
| Chroma | muted (0.039) |
| Temperature | in between |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.23:1 |
| White text | 16.99:1 |
Values
| HEX | #042118 |
| RGB | rgb(4, 33, 24) |
| HSL | hsl(161, 78%, 7%) |
| OKLCH | oklch(22.3% 0.039 169) |
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 #042118 | 16.99:1 | AAA | Lc -106.1 | Preferred for body text |
| Black text on #042118 | 1.23:1 | Fails | Lc 0.0 | Not readable |
| #042118 text on white | 16.99:1 | AAA | Lc 103.7 | Preferred for body text |
| #042118 text on black | 1.23: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
#F2F7F5
oklch(97.2% 0.006 170.4)
-
Step 100
100
#E2EDE8
oklch(93.6% 0.013 167.2)
-
Step 200
200
#C9DFD6
oklch(88.5% 0.026 169.2)
-
Step 300
300
#A4CBBB
oklch(80.9% 0.047 168.3)
-
Step 400
400
#70B099
oklch(70.7% 0.074 169.4)
-
Step 500
500
#459C7F
oklch(63.1% 0.096 168.6)
-
Step 600
600
#1B8669
oklch(55.5% 0.103 169.5)
-
Step 700
700
#077257
oklch(49.1% 0.097 168.8)
-
Step 800
800
#0F5D47
oklch(42.8% 0.081 168.5)
-
Step 900
900
#184C3C
oklch(37.7% 0.062 169.3)
-
Step 950
950 (this color)
#042118
oklch(22.3% 0.039 169)
#042118 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) | #201E18 | 0.040 |
| Deuteranopia (no green cones) | #1C1B19 | 0.039 |
| Tritanopia (no blue cones) | #00211E | 0.012 |
| Achromatopsia (no color) | #1C1C1C | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042118
#042118
oklch(22.3% 0.039 169)
- #29131E
#29131E
oklch(22.3% 0.04 349.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 #042118, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.050
- Jet #212529 ΔE 0.055
- Dark #1B2431 ΔE 0.059
- Dark Forest Green #002D04 ΔE 0.061
- Rich Navy #001219 ΔE 0.063
- Very Dark Green #062E03 ΔE 0.065
- Oxford Blue #1B263B ΔE 0.076
- Almost Black #070D0D ΔE 0.077
Use #042118 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.