#217F19#217F19
#217F19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.160 H 142.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #217F19 |
|---|---|
| RGB | rgb(33, 127, 25) |
| HSL | hsl(115, 67%, 30%) |
| HSV | hsv(115, 80%, 50%) |
| CMYK | cmyk(74%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.41, -46.35, 44.11) |
| CIE-LCH | lch(46.41, 63.99, 136.42°) |
| OKLab | oklab(52.28% -0.1262 0.0987) |
| OKLCH | oklch(52.28% 0.16 142) |
| XYZ | xyz(8.3916, 15.5713, 3.4828) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.81
Green
#008000
ΔE00 1.96
Dark Grass Green
#388004
ΔE00 3.43
Forestgreen (CSS)
#228B22
ΔE00 4.28
Darkish Green
#287C37
ΔE00 4.93
Emerald Green
#028F1E
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F19 #77197F
analogous
#547F19 #217F19 #197F44
triadic
#217F19 #19217F #7F1921
tetradic
#217F19 #19547F #77197F #7F4419
square
#217F19 #19547F #77197F #7F4419
split-complementary
#217F19 #44197F #7F1954
monochromatic
#071A05 #144C0F #217F19 #2EB223 #47D83A
Accessibility & contrast
On white
5.10
#217F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#217F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F19
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F19 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#047B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f19; /* rgb */ color: rgb(33, 127, 25); /* oklch */ color: oklch(52.3% 0.160 142.0);
Tailwind
colors: {
custom: {
50: '#6da55e',
500: '#217f19',
950: '#000000',
},
}SCSS
$custom: #217f19; $custom-light: #6da55e; $custom-dark: #000000;
JSON
{
"hex": "#217f19",
"rgb": {
"r": 33,
"g": 127,
"b": 25
},
"hsl": {
"h": 115.294,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.5228,
"c": 0.16023,
"h": 142
},
"luminance": 0.15572
}Semantic roles & 50–950 ramp
primary
#217F19
secondary
#AA41B3
accent
#3EEADC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79