#02170F
Closest named color: Rich Navy (#001219). oklch(18.3% 0.034 166.7), rgb(2, 23, 15).
Aa
White text reads best on this color (18.55:1).
About this color
#02170F is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.034 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.034 away. White text reads best on it, at 18.55:1.
| Hue family | Greens |
| Lightness | very dark (18%) |
| Chroma | muted (0.034) |
| Temperature | in between |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.13:1 |
| White text | 18.55:1 |
Values
| HEX | #02170F |
| RGB | rgb(2, 23, 15) |
| HSL | hsl(157, 84%, 5%) |
| OKLCH | oklch(18.3% 0.034 166.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 #02170F | 18.55:1 | AAA | Lc -107.1 | Preferred for body text |
| Black text on #02170F | 1.13:1 | Fails | Lc 0.0 | Not readable |
| #02170F text on white | 18.55:1 | AAA | Lc 105.0 | Preferred for body text |
| #02170F text on black | 1.13: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
#E3ECE8
oklch(93.5% 0.011 167.8)
-
Step 200
200
#CCDED6
oklch(88.5% 0.022 167.4)
-
Step 300
300
#A9C9BB
oklch(80.8% 0.04 167.1)
-
Step 400
400
#7AAE98
oklch(70.8% 0.064 166.4)
-
Step 500
500
#54997F
oklch(63% 0.081 167.3)
-
Step 600
600
#368468
oklch(55.7% 0.089 166.6)
-
Step 700
700
#277056
oklch(49.2% 0.084 166.1)
-
Step 800
800
#225B47
oklch(42.7% 0.069 167)
-
Step 900
900
#224B3B
oklch(37.8% 0.054 165.9)
-
Step 950
950 (this color)
#02170F
oklch(18.3% 0.034 166.7)
#02170F 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) | #16150F | 0.033 |
| Deuteranopia (no green cones) | #131210 | 0.034 |
| Tritanopia (no blue cones) | #001715 | 0.012 |
| Achromatopsia (no color) | #131313 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02170F
#02170F
oklch(18.3% 0.034 166.7)
- #1D0C15
#1D0C15
oklch(18.4% 0.033 347.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 #02170F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.034
- Almost Black #070D0D ΔE 0.040
- Rich Black #0D1B2A ΔE 0.058
- Jet #212529 ΔE 0.086
- Dark #1B2431 ΔE 0.087
- Very Dark Brown #1D0200 ΔE 0.087
- Dark Forest Green #002D04 ΔE 0.092
- Very Dark Green #062E03 ΔE 0.097
Use #02170F 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.