#21702F#21702F
#21702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.125 H 146.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #21702F |
|---|---|
| RGB | rgb(33, 112, 47) |
| HSL | hsl(131, 54%, 28%) |
| HSV | hsv(131, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.40, -38.49, 29.00) |
| CIE-LCH | lch(41.40, 48.19, 143.01°) |
| OKLab | oklab(48.2% -0.1039 0.0692) |
| OKLCH | oklch(48.2% 0.125 146.3) |
| XYZ | xyz(6.9340, 12.1162, 4.6620) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.17
Darkgreen
#006400
ΔE00 6.49
Jungle Green
#048243
ΔE00 6.66
Tree Green
#2A7E19
ΔE00 7.07
Pine
#2B5D34
ΔE00 7.74
Forest Green
#2D5A27
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21702F #702162
analogous
#3A7021 #21702F #217056
triadic
#21702F #2F2170 #702F21
tetradic
#21702F #213A70 #702162 #705621
square
#21702F #213A70 #702162 #705621
split-complementary
#21702F #562170 #70213A
monochromatic
#07180A #13411B #21702F #2F9F43 #44C85B
Accessibility & contrast
On white
6.13
#21702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#21702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #21702F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21702F | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#056D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #21702f; /* rgb */ color: rgb(33, 112, 47); /* oklch */ color: oklch(48.2% 0.125 146.3);
Tailwind
colors: {
custom: {
50: '#689a69',
500: '#21702f',
950: '#000000',
},
}SCSS
$custom: #21702f; $custom-light: #689a69; $custom-dark: #000000;
JSON
{
"hex": "#21702f",
"rgb": {
"r": 33,
"g": 112,
"b": 47
},
"hsl": {
"h": 130.633,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.48195,
"c": 0.12484,
"h": 146.3
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#21702F
secondary
#A44994
accent
#4AC4DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A