#042E22
Closest named color: Dark Forest Green (#002D04). oklch(26.9% 0.05 169.1), rgb(4, 46, 34).
Aa
White text reads best on this color (14.79:1).
About this color
#042E22 is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.050 and its hue 169°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.044 away. White text reads best on it, at 14.79:1.
| Hue family | Greens |
| Lightness | dark (27%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Dark Forest Green (#002D04) |
| Black text | 1.41:1 |
| White text | 14.79:1 |
Values
| HEX | #042E22 |
| RGB | rgb(4, 46, 34) |
| HSL | hsl(163, 84%, 10%) |
| OKLCH | oklch(26.9% 0.05 169.1) |
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 #042E22 | 14.79:1 | AAA | Lc -104.3 | Preferred for body text |
| Black text on #042E22 | 1.41:1 | Fails | Lc 0.0 | Not readable |
| #042E22 text on white | 14.79:1 | AAA | Lc 101.4 | Preferred for body text |
| #042E22 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
#F1F7F4
oklch(97.1% 0.007 164.9)
-
Step 100
100
#DFEEE8
oklch(93.6% 0.018 170.1)
-
Step 200
200
#C5E1D5
oklch(88.6% 0.034 167.9)
-
Step 300
300
#9BCEBA
oklch(81% 0.06 168.7)
-
Step 400
400
#5EB496
oklch(70.7% 0.096 168.6)
-
Step 500
500
#16A17D
oklch(63.2% 0.122 169.1)
-
Step 600
600
#008868
oklch(55.7% 0.112 168.9)
-
Step 700
700
#007257
oklch(49.1% 0.098 169.1)
-
Step 800
800
#005E47
oklch(42.8% 0.086 168.9)
-
Step 900
900
#004E3B
oklch(37.7% 0.075 169.6)
-
Step 950
950 (this color)
#042E22
oklch(26.9% 0.05 169.1)
#042E22 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) | #2C2A21 | 0.050 |
| Deuteranopia (no green cones) | #272623 | 0.049 |
| Tritanopia (no blue cones) | #002E2B | 0.016 |
| Achromatopsia (no color) | #282828 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042E22
#042E22
oklch(26.9% 0.05 169.1)
- #381B2A
#381B2A
oklch(26.8% 0.051 348.8)
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 #042E22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Forest Green #002D04 ΔE 0.044
- Very Dark Green #062E03 ΔE 0.045
- Jet #212529 ΔE 0.050
- Pakistan Green #283618 ΔE 0.055
- Dark #1B2431 ΔE 0.058
- Oxford Blue #1B263B ΔE 0.068
- Gunmetal #293241 ΔE 0.075
- Rich Black #0D1B2A ΔE 0.077
Use #042E22 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.