#02170F#02170F
#02170F is a very dark, muted teal. Relative luminance 0.007; OKLCH L 18.3% C 0.034 H 166.7°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).
Color values
| HEX | #02170F |
|---|---|
| RGB | rgb(2, 23, 15) |
| HSL | hsl(157, 84%, 5%) |
| HSV | hsv(157, 91%, 9%) |
| CMYK | cmyk(91.3%, 0%, 34.8%, 91%) |
| CIE-LAB | lab(5.96, -8.59, 2.31) |
| CIE-LCH | lch(5.96, 8.90, 164.96°) |
| OKLab | oklab(18.34% -0.0329 0.0078) |
| OKLCH | oklch(18.34% 0.034 166.7) |
| XYZ | xyz(0.4176, 0.6601, 0.5573) |
| Luminance | 0.0066 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 8.25
Black
#000000
ΔE00 10.70
Gunmetal
#2A3439
ΔE00 13.20
Charcoal (survey)
#343837
ΔE00 13.52
Onyx
#353839
ΔE00 14.50
Dark Forest Green
#002D04
ΔE00 14.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#02170F #17020A
analogous
#021705 #02170F #021517
triadic
#02170F #0F0217 #170F02
tetradic
#02170F #050217 #17020A #151702
square
#02170F #050217 #17020A #151702
split-complementary
#02170F #170215 #170502
monochromatic
#021C12 #021C12 #021C12 #074F34 #0C8858
Accessibility & contrast
On white
18.55
#02170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#02170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #02170F
18.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##02170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##02170F | 1.00 | 18.55 | 1.13 | 18.55 |
| #FFFFFF | 18.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16150F
Deuteranopia (green-blind)
#131210
Tritanopia (blue-blind)
#001715
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #02170f; /* rgb */ color: rgb(2, 23, 15); /* oklch */ color: oklch(18.3% 0.034 166.7);
Tailwind
colors: {
custom: {
50: '#47534e',
500: '#02170f',
950: '#000000',
},
}SCSS
$custom: #02170f; $custom-light: #47534e; $custom-dark: #000000;
JSON
{
"hex": "#02170f",
"rgb": {
"r": 2,
"g": 23,
"b": 15
},
"hsl": {
"h": 157.143,
"s": 84,
"l": 4.902
},
"oklch": {
"l": 0.1834,
"c": 0.03384,
"h": 166.7
},
"luminance": 0.0066
}Semantic roles & 50–950 ramp
primary
#02170F
secondary
#5D1832
accent
#2E7CFA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877