#02170E#02170E
#02170E is a very dark, muted teal. Relative luminance 0.007; OKLCH L 18.3% C 0.035 H 164.0°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).
Color values
| HEX | #02170E |
|---|---|
| RGB | rgb(2, 23, 14) |
| HSL | hsl(154, 84%, 5%) |
| HSV | hsv(154, 91%, 9%) |
| CMYK | cmyk(91.3%, 0%, 39.1%, 91%) |
| CIE-LAB | lab(5.94, -8.77, 2.79) |
| CIE-LCH | lch(5.94, 9.21, 162.34°) |
| OKLab | oklab(18.31% -0.0336 0.0096) |
| OKLCH | oklch(18.31% 0.035 164) |
| XYZ | xyz(0.4107, 0.6574, 0.5206) |
| Luminance | 0.0066 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 8.50
Black
#000000
ΔE00 10.89
Gunmetal
#2A3439
ΔE00 13.47
Charcoal (survey)
#343837
ΔE00 13.67
Dark Forest Green
#002D04
ΔE00 14.19
Very Dark Green
#062E03
ΔE00 14.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#02170E #17020B
analogous
#021704 #02170E #021617
triadic
#02170E #0E0217 #170E02
tetradic
#02170E #040217 #17020B #161702
square
#02170E #040217 #17020B #161702
split-complementary
#02170E #170216 #170402
monochromatic
#021C11 #021C11 #021C11 #074F30 #0C8853
Accessibility & contrast
On white
18.56
#02170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#02170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #02170E
18.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##02170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##02170E | 1.00 | 18.56 | 1.13 | 18.56 |
| #FFFFFF | 18.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16140D
Deuteranopia (green-blind)
#13120F
Tritanopia (blue-blind)
#001715
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #02170e; /* rgb */ color: rgb(2, 23, 14); /* oklch */ color: oklch(18.3% 0.035 164.0);
Tailwind
colors: {
custom: {
50: '#47534d',
500: '#02170e',
950: '#000000',
},
}SCSS
$custom: #02170e; $custom-light: #47534d; $custom-dark: #000000;
JSON
{
"hex": "#02170e",
"rgb": {
"r": 2,
"g": 23,
"b": 14
},
"hsl": {
"h": 154.286,
"s": 84,
"l": 4.902
},
"oklch": {
"l": 0.18305,
"c": 0.03494,
"h": 164
},
"luminance": 0.00657
}Semantic roles & 50–950 ramp
primary
#02170E
secondary
#5D1835
accent
#2E85FA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877