#217F16#217F16
#217F16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.162 H 141.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #217F16 |
|---|---|
| RGB | rgb(33, 127, 22) |
| HSL | hsl(114, 70%, 29%) |
| HSV | hsv(114, 83%, 50%) |
| CMYK | cmyk(74%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.39, -46.56, 45.08) |
| CIE-LCH | lch(46.39, 64.80, 135.92°) |
| OKLab | oklab(52.26% -0.1269 0.1003) |
| OKLCH | oklch(52.26% 0.162 141.7) |
| XYZ | xyz(8.3609, 15.5591, 3.3215) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.78
Green
#008000
ΔE00 1.74
Dark Grass Green
#388004
ΔE00 3.19
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 5.24
Emerald Green
#028F1E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F16 #74167F
analogous
#567F16 #217F16 #167F40
triadic
#217F16 #16217F #7F1621
tetradic
#217F16 #16567F #74167F #7F4016
square
#217F16 #16567F #74167F #7F4016
split-complementary
#217F16 #40167F #7F1656
monochromatic
#071A05 #134B0D #217F16 #2FB31F #45DC34
Accessibility & contrast
On white
5.11
#217F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#217F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F16
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F16 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#057B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f16; /* rgb */ color: rgb(33, 127, 22); /* oklch */ color: oklch(52.3% 0.162 141.7);
Tailwind
colors: {
custom: {
50: '#6da55d',
500: '#217f16',
950: '#000000',
},
}SCSS
$custom: #217f16; $custom-light: #6da55d; $custom-dark: #000000;
JSON
{
"hex": "#217f16",
"rgb": {
"r": 33,
"g": 127,
"b": 22
},
"hsl": {
"h": 113.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52261,
"c": 0.16174,
"h": 141.7
},
"luminance": 0.1556
}Semantic roles & 50–950 ramp
primary
#217F16
secondary
#A73DB4
accent
#3BEDDB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79