#217E16#217E16
#217E16 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.161 H 141.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #217E16 |
|---|---|
| RGB | rgb(33, 126, 22) |
| HSL | hsl(114, 70%, 29%) |
| HSV | hsv(114, 83%, 49%) |
| CMYK | cmyk(73.8%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(46.05, -46.21, 44.75) |
| CIE-LCH | lch(46.05, 64.33, 135.92°) |
| OKLab | oklab(51.97% -0.126 0.0996) |
| OKLCH | oklch(51.97% 0.161 141.7) |
| XYZ | xyz(8.2324, 15.3021, 3.2786) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.72
Green
#008000
ΔE00 1.86
Dark Grass Green
#388004
ΔE00 3.30
Forestgreen (CSS)
#228B22
ΔE00 4.65
Darkish Green
#287C37
ΔE00 5.12
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E16 #73167E
analogous
#557E16 #217E16 #167E3F
triadic
#217E16 #16217E #7E1621
tetradic
#217E16 #16557E #73167E #7E3F16
square
#217E16 #16557E #73167E #7E3F16
split-complementary
#217E16 #3F167E #7E1655
monochromatic
#071A05 #134A0D #217E16 #2FB21F #45DB33
Accessibility & contrast
On white
5.17
#217E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#217E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E16
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E16 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#057A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217e16; /* rgb */ color: rgb(33, 126, 22); /* oklch */ color: oklch(52.0% 0.161 141.7);
Tailwind
colors: {
custom: {
50: '#6ca45d',
500: '#217e16',
950: '#000000',
},
}SCSS
$custom: #217e16; $custom-light: #6ca45d; $custom-dark: #000000;
JSON
{
"hex": "#217e16",
"rgb": {
"r": 33,
"g": 126,
"b": 22
},
"hsl": {
"h": 113.654,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.51974,
"c": 0.1606,
"h": 141.7
},
"luminance": 0.15303
}Semantic roles & 50–950 ramp
primary
#217E16
secondary
#A63DB3
accent
#3BEDDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79