#217E19#217E19
#217E19 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.159 H 142.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #217E19 |
|---|---|
| RGB | rgb(33, 126, 25) |
| HSL | hsl(115, 67%, 30%) |
| HSV | hsv(115, 80%, 49%) |
| CMYK | cmyk(73.8%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.06, -46.01, 43.78) |
| CIE-LCH | lch(46.06, 63.51, 136.42°) |
| OKLab | oklab(51.99% -0.1253 0.098) |
| OKLCH | oklch(51.99% 0.159 142) |
| XYZ | xyz(8.2630, 15.3143, 3.4400) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.78
Green
#008000
ΔE00 2.08
Dark Grass Green
#388004
ΔE00 3.54
Forestgreen (CSS)
#228B22
ΔE00 4.62
Darkish Green
#287C37
ΔE00 4.81
Emerald Green
#028F1E
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E19 #76197E
analogous
#537E19 #217E19 #197E44
triadic
#217E19 #19217E #7E1921
tetradic
#217E19 #19537E #76197E #7E4419
square
#217E19 #19537E #76197E #7E4419
split-complementary
#217E19 #44197E #7E1953
monochromatic
#071A05 #144B0F #217E19 #2EB123 #46D83A
Accessibility & contrast
On white
5.17
#217E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#217E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E19
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E19 | 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)
#817200
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#047A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217e19; /* rgb */ color: rgb(33, 126, 25); /* oklch */ color: oklch(52.0% 0.159 142.0);
Tailwind
colors: {
custom: {
50: '#6ca45e',
500: '#217e19',
950: '#000000',
},
}SCSS
$custom: #217e19; $custom-light: #6ca45e; $custom-dark: #000000;
JSON
{
"hex": "#217e19",
"rgb": {
"r": 33,
"g": 126,
"b": 25
},
"hsl": {
"h": 115.248,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.51993,
"c": 0.15906,
"h": 142
},
"luminance": 0.15315
}Semantic roles & 50–950 ramp
primary
#217E19
secondary
#A941B2
accent
#3EEADC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79