#21702E#21702E
#21702E is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.126 H 146.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #21702E |
|---|---|
| RGB | rgb(33, 112, 46) |
| HSL | hsl(130, 54%, 28%) |
| HSV | hsv(130, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 58.9%, 56.1%) |
| CIE-LAB | lab(41.39, -38.64, 29.51) |
| CIE-LCH | lch(41.39, 48.62, 142.63°) |
| OKLab | oklab(48.18% -0.1043 0.0702) |
| OKLCH | oklch(48.18% 0.126 146) |
| XYZ | xyz(6.9140, 12.1082, 4.5570) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.17
Darkgreen
#006400
ΔE00 6.34
Jungle Green
#048243
ΔE00 6.73
Tree Green
#2A7E19
ΔE00 6.92
Forest Green
#2D5A27
ΔE00 7.79
Pine
#2B5D34
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21702E #702163
analogous
#3B7021 #21702E #217055
triadic
#21702E #2E2170 #702E21
tetradic
#21702E #213B70 #702163 #705521
square
#21702E #213B70 #702163 #705521
split-complementary
#21702E #552170 #70213B
monochromatic
#07180A #13411B #21702E #2F9F41 #44C859
Accessibility & contrast
On white
6.14
#21702E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#21702E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21702E
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21702E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21702E | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#066D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21702e; /* rgb */ color: rgb(33, 112, 46); /* oklch */ color: oklch(48.2% 0.126 146.0);
Tailwind
colors: {
custom: {
50: '#689a69',
500: '#21702e',
950: '#000000',
},
}SCSS
$custom: #21702e; $custom-light: #689a69; $custom-dark: #000000;
JSON
{
"hex": "#21702e",
"rgb": {
"r": 33,
"g": 112,
"b": 46
},
"hsl": {
"h": 129.873,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.4818,
"c": 0.12577,
"h": 146
},
"luminance": 0.12109
}Semantic roles & 50–950 ramp
primary
#21702E
secondary
#A44995
accent
#4AC6DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A