#217F3C#217F3C
#217F3C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.133 H 148.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #217F3C |
|---|---|
| RGB | rgb(33, 127, 60) |
| HSL | hsl(137, 59%, 31%) |
| HSV | hsv(137, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 52.8%, 50.2%) |
| CIE-LAB | lab(46.75, -42.30, 28.63) |
| CIE-LCH | lch(46.75, 51.08, 145.91°) |
| OKLab | oklab(52.67% -0.1138 0.0693) |
| OKLCH | oklch(52.67% 0.133 148.7) |
| XYZ | xyz(9.0315, 15.8273, 6.8531) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.43
Jungle Green
#048243
ΔE00 2.14
Tree Green
#2A7E19
ΔE00 5.88
Sea Green
#2E8B57
ΔE00 6.04
Forestgreen (CSS)
#228B22
ΔE00 6.89
Green
#008000
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F3C #7F2164
analogous
#357F21 #217F3C #217F6B
triadic
#217F3C #3C217F #7F3C21
tetradic
#217F3C #21357F #7F2164 #7F6B21
square
#217F3C #21357F #7F2164 #7F6B21
split-complementary
#217F3C #6B217F #7F2135
monochromatic
#081E0E #144E25 #217F3C #2EB053 #4AD071
Accessibility & contrast
On white
5.04
#217F3C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#217F3C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F3C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F3C | 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)
#807436
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f3c; /* rgb */ color: rgb(33, 127, 60); /* oklch */ color: oklch(52.7% 0.133 148.7);
Tailwind
colors: {
custom: {
50: '#6ba573',
500: '#217f3c',
950: '#000000',
},
}SCSS
$custom: #217f3c; $custom-light: #6ba573; $custom-dark: #000000;
JSON
{
"hex": "#217f3c",
"rgb": {
"r": 33,
"g": 127,
"b": 60
},
"hsl": {
"h": 137.234,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52672,
"c": 0.13326,
"h": 148.7
},
"luminance": 0.15828
}Semantic roles & 50–950 ramp
primary
#217F3C
secondary
#B24A94
accent
#46B5E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B