#021502#021502
#021502 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.2% C 0.050 H 143.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).
Color values
| HEX | #021502 |
|---|---|
| RGB | rgb(2, 21, 2) |
| HSL | hsl(120, 83%, 5%) |
| HSV | hsv(120, 90%, 8%) |
| CMYK | cmyk(90.5%, 0%, 90.5%, 91.8%) |
| CIE-LAB | lab(5.00, -9.10, 6.50) |
| CIE-LCH | lch(5.00, 11.18, 144.45°) |
| OKLab | oklab(17.2% -0.0401 0.0302) |
| OKLCH | oklch(17.2% 0.05 143) |
| XYZ | xyz(0.3041, 0.5536, 0.1482) |
| Luminance | 0.0055 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Almost Black
#070D0D
ΔE00 9.74
Black
#000000
ΔE00 11.64
Dark Forest Green
#002D04
ΔE00 12.78
Very Dark Green
#062E03
ΔE00 12.84
Charcoal (survey)
#343837
ΔE00 14.85
Dark Green
#033500
ΔE00 15.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#021502 #150215
analogous
#0C1502 #021502 #02150C
triadic
#021502 #020215 #150202
tetradic
#021502 #020C15 #150215 #150C02
square
#021502 #020C15 #150215 #150C02
split-complementary
#021502 #0C0215 #15020C
monochromatic
#031C03 #031C03 #031C03 #074D07 #0D850D
Accessibility & contrast
On white
18.91
#021502 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#021502 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #021502
18.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##021502 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##021502 | 1.00 | 18.91 | 1.11 | 18.91 |
| #FFFFFF | 18.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#001410
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #021502; /* rgb */ color: rgb(2, 21, 2); /* oklch */ color: oklch(17.2% 0.050 143.0);
Tailwind
colors: {
custom: {
50: '#475247',
500: '#021502',
950: '#000000',
},
}SCSS
$custom: #021502; $custom-light: #475247; $custom-dark: #000000;
JSON
{
"hex": "#021502",
"rgb": {
"r": 2,
"g": 21,
"b": 2
},
"hsl": {
"h": 120,
"s": 82.609,
"l": 4.51
},
"oklch": {
"l": 0.17203,
"c": 0.05021,
"h": 143
},
"luminance": 0.00554
}Semantic roles & 50–950 ramp
primary
#021502
secondary
#5B185B
accent
#2FF9F9
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877