#021002#021002
#021002 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.3% C 0.042 H 143.2°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).
Color values
| HEX | #021002 |
|---|---|
| RGB | rgb(2, 16, 2) |
| HSL | hsl(120, 78%, 4%) |
| HSV | hsv(120, 88%, 6%) |
| CMYK | cmyk(87.5%, 0%, 87.5%, 93.7%) |
| CIE-LAB | lab(3.50, -6.03, 4.31) |
| CIE-LCH | lch(3.50, 7.42, 144.43°) |
| OKLab | oklab(15.3% -0.0334 0.025) |
| OKLCH | oklch(15.3% 0.042 143.2) |
| XYZ | xyz(0.2213, 0.3878, 0.1206) |
| Luminance | 0.0039 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 6.59
Black
#000000
ΔE00 8.43
Charcoal (survey)
#343837
ΔE00 13.98
Gunmetal
#2A3439
ΔE00 14.25
Dark Grey
#363737
ΔE00 14.76
Onyx
#353839
ΔE00 14.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021002 #100210
analogous
#091002 #021002 #021009
triadic
#021002 #020210 #100202
tetradic
#021002 #020910 #100210 #100902
square
#021002 #020910 #100210 #100902
split-complementary
#021002 #090210 #100209
monochromatic
#031B03 #031B03 #031B03 #094609 #107D10
Accessibility & contrast
On white
19.49
#021002 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.08
#021002 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021002
19.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021002 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021002 | 1.00 | 19.49 | 1.08 | 19.49 |
| #FFFFFF | 19.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#110D01
Deuteranopia (green-blind)
#0E0C03
Tritanopia (blue-blind)
#010F0C
Achromatopsia (no color)
#0D0D0D
Design tokens & code
CSS
--color: #021002; /* rgb */ color: rgb(2, 16, 2); /* oklch */ color: oklch(15.3% 0.042 143.2);
Tailwind
colors: {
custom: {
50: '#474e47',
500: '#021002',
950: '#000000',
},
}SCSS
$custom: #021002; $custom-light: #474e47; $custom-dark: #000000;
JSON
{
"hex": "#021002",
"rgb": {
"r": 2,
"g": 16,
"b": 2
},
"hsl": {
"h": 120,
"s": 77.778,
"l": 3.529
},
"oklch": {
"l": 0.15303,
"c": 0.04169,
"h": 143.2
},
"luminance": 0.00388
}Semantic roles & 50–950 ramp
primary
#021002
secondary
#551955
accent
#34F4F4
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777