#21702B#21702B
#21702B is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.129 H 145.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #21702B |
|---|---|
| RGB | rgb(33, 112, 43) |
| HSL | hsl(128, 54%, 28%) |
| HSV | hsv(128, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 61.6%, 56.1%) |
| CIE-LAB | lab(41.35, -39.06, 31.00) |
| CIE-LCH | lch(41.35, 49.87, 141.56°) |
| OKLab | oklab(48.14% -0.1056 0.0733) |
| OKLCH | oklch(48.14% 0.129 145.2) |
| XYZ | xyz(6.8570, 12.0854, 4.2564) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.22
Darkgreen
#006400
ΔE00 5.91
Tree Green
#2A7E19
ΔE00 6.51
Jungle Green
#048243
ΔE00 6.96
Deep Green
#02590F
ΔE00 7.77
Green
#008000
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21702B #702166
analogous
#3E7021 #21702B #217052
triadic
#21702B #2B2170 #702B21
tetradic
#21702B #213E70 #702166 #705221
square
#21702B #213E70 #702166 #705221
split-complementary
#21702B #522170 #70213E
monochromatic
#071809 #134119 #21702B #2F9F3D #44C854
Accessibility & contrast
On white
6.15
#21702B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#21702B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21702B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21702B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21702B | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726624
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#086D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21702b; /* rgb */ color: rgb(33, 112, 43); /* oklch */ color: oklch(48.1% 0.129 145.2);
Tailwind
colors: {
custom: {
50: '#689a67',
500: '#21702b',
950: '#000000',
},
}SCSS
$custom: #21702b; $custom-light: #689a67; $custom-dark: #000000;
JSON
{
"hex": "#21702b",
"rgb": {
"r": 33,
"g": 112,
"b": 43
},
"hsl": {
"h": 127.595,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48139,
"c": 0.1285,
"h": 145.2
},
"luminance": 0.12086
}Semantic roles & 50–950 ramp
primary
#21702B
secondary
#A44998
accent
#4ACBDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A