#217F3E#217F3E
#217F3E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.131 H 149.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #217F3E |
|---|---|
| RGB | rgb(33, 127, 62) |
| HSL | hsl(139, 59%, 31%) |
| HSV | hsv(139, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 51.2%, 50.2%) |
| CIE-LAB | lab(46.78, -41.97, 27.59) |
| CIE-LCH | lch(46.78, 50.23, 146.68°) |
| OKLab | oklab(52.7% -0.1129 0.067) |
| OKLCH | oklch(52.7% 0.131 149.3) |
| XYZ | xyz(9.0853, 15.8489, 7.1368) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.70
Jungle Green
#048243
ΔE00 1.88
Sea Green
#2E8B57
ΔE00 5.77
Tree Green
#2A7E19
ΔE00 6.29
Dark Sea Green
#11875D
ΔE00 7.00
Forestgreen (CSS)
#228B22
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F3E #7F2162
analogous
#337F21 #217F3E #217F6D
triadic
#217F3E #3E217F #7F3E21
tetradic
#217F3E #21337F #7F2162 #7F6D21
square
#217F3E #21337F #7F2162 #7F6D21
split-complementary
#217F3E #6D217F #7F2133
monochromatic
#081E0F #144E26 #217F3E #2EB056 #4AD074
Accessibility & contrast
On white
5.04
#217F3E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#217F3E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F3E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F3E | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807439
Deuteranopia (green-blind)
#756C43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f3e; /* rgb */ color: rgb(33, 127, 62); /* oklch */ color: oklch(52.7% 0.131 149.3);
Tailwind
colors: {
custom: {
50: '#6ba574',
500: '#217f3e',
950: '#000000',
},
}SCSS
$custom: #217f3e; $custom-light: #6ba574; $custom-dark: #000000;
JSON
{
"hex": "#217f3e",
"rgb": {
"r": 33,
"g": 127,
"b": 62
},
"hsl": {
"h": 138.511,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52704,
"c": 0.13134,
"h": 149.3
},
"luminance": 0.1585
}Semantic roles & 50–950 ramp
primary
#217F3E
secondary
#B24A92
accent
#46B2E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B