#217F3D#217F3D
#217F3D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.132 H 149.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #217F3D |
|---|---|
| RGB | rgb(33, 127, 61) |
| HSL | hsl(138, 59%, 31%) |
| HSV | hsv(138, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 52%, 50.2%) |
| CIE-LAB | lab(46.76, -42.14, 28.11) |
| CIE-LCH | lch(46.76, 50.65, 146.29°) |
| OKLab | oklab(52.69% -0.1134 0.0681) |
| OKLCH | oklch(52.69% 0.132 149) |
| XYZ | xyz(9.0582, 15.8380, 6.9936) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.56
Jungle Green
#048243
ΔE00 2.00
Sea Green
#2E8B57
ΔE00 5.91
Tree Green
#2A7E19
ΔE00 6.08
Forestgreen (CSS)
#228B22
ΔE00 7.05
Dark Sea Green
#11875D
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F3D #7F2163
analogous
#347F21 #217F3D #217F6C
triadic
#217F3D #3D217F #7F3D21
tetradic
#217F3D #21347F #7F2163 #7F6C21
square
#217F3D #21347F #7F2163 #7F6C21
split-complementary
#217F3D #6C217F #7F2134
monochromatic
#081E0E #144E26 #217F3D #2EB054 #4AD072
Accessibility & contrast
On white
5.04
#217F3D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#217F3D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F3D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F3D | 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)
#807437
Deuteranopia (green-blind)
#756C42
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f3d; /* rgb */ color: rgb(33, 127, 61); /* oklch */ color: oklch(52.7% 0.132 149.0);
Tailwind
colors: {
custom: {
50: '#6ba574',
500: '#217f3d',
950: '#000000',
},
}SCSS
$custom: #217f3d; $custom-light: #6ba574; $custom-dark: #000000;
JSON
{
"hex": "#217f3d",
"rgb": {
"r": 33,
"g": 127,
"b": 61
},
"hsl": {
"h": 137.872,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52688,
"c": 0.1323,
"h": 149
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#217F3D
secondary
#B24A93
accent
#46B3E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B