#02120C#02120C
#02120C is a very dark, muted teal. Relative luminance 0.005; OKLCH L 16.4% C 0.028 H 168.9°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).
Color values
| HEX | #02120C |
|---|---|
| RGB | rgb(2, 18, 12) |
| HSL | hsl(158, 80%, 4%) |
| HSV | hsv(158, 89%, 7%) |
| CMYK | cmyk(88.9%, 0%, 33.3%, 92.9%) |
| CIE-LAB | lab(4.26, -5.77, 1.30) |
| CIE-LCH | lch(4.26, 5.92, 167.26°) |
| OKLab | oklab(16.42% -0.0276 0.0054) |
| OKLCH | oklch(16.42% 0.028 168.9) |
| XYZ | xyz(0.3077, 0.4720, 0.4227) |
| Luminance | 0.0047 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 5.27
Black
#000000
ΔE00 7.73
Gunmetal
#2A3439
ΔE00 12.53
Charcoal (survey)
#343837
ΔE00 13.10
Dark
#1B2431
ΔE00 13.25
Onyx
#353839
ΔE00 13.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#02120C #120208
analogous
#021204 #02120C #021012
triadic
#02120C #0C0212 #120C02
tetradic
#02120C #040212 #120208 #101202
square
#02120C #040212 #120208 #101202
split-complementary
#02120C #120210 #120402
monochromatic
#031C12 #031C12 #031C12 #084931 #0E8055
Accessibility & contrast
On white
19.19
#02120C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.09
#02120C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #02120C
19.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##02120C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##02120C | 1.00 | 19.19 | 1.09 | 19.19 |
| #FFFFFF | 19.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11100C
Deuteranopia (green-blind)
#0F0E0C
Tritanopia (blue-blind)
#001210
Achromatopsia (no color)
#0F0F0F
Design tokens & code
CSS
--color: #02120c; /* rgb */ color: rgb(2, 18, 12); /* oklch */ color: oklch(16.4% 0.028 168.9);
Tailwind
colors: {
custom: {
50: '#474f4c',
500: '#02120c',
950: '#000000',
},
}SCSS
$custom: #02120c; $custom-light: #474f4c; $custom-dark: #000000;
JSON
{
"hex": "#02120c",
"rgb": {
"r": 2,
"g": 18,
"b": 12
},
"hsl": {
"h": 157.5,
"s": 80,
"l": 3.922
},
"oklch": {
"l": 0.16423,
"c": 0.02817,
"h": 168.9
},
"luminance": 0.00472
}Semantic roles & 50–950 ramp
primary
#02120C
secondary
#571930
accent
#317BF6
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877