#217F37#217F37
#217F37 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.138 H 147.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #217F37 |
|---|---|
| RGB | rgb(33, 127, 55) |
| HSL | hsl(134, 59%, 31%) |
| HSV | hsv(134, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 56.7%, 50.2%) |
| CIE-LAB | lab(46.68, -43.08, 31.17) |
| CIE-LCH | lch(46.68, 53.17, 144.11°) |
| OKLab | oklab(52.6% -0.116 0.0746) |
| OKLCH | oklch(52.6% 0.138 147.3) |
| XYZ | xyz(8.9055, 15.7769, 6.1896) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.19
Jungle Green
#048243
ΔE00 2.92
Tree Green
#2A7E19
ΔE00 4.90
Forestgreen (CSS)
#228B22
ΔE00 6.14
Green
#008000
ΔE00 6.22
Sea Green
#2E8B57
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F37 #7F2169
analogous
#3A7F21 #217F37 #217F66
triadic
#217F37 #37217F #7F3721
tetradic
#217F37 #213A7F #7F2169 #7F6621
square
#217F37 #213A7F #7F2169 #7F6621
split-complementary
#217F37 #66217F #7F213A
monochromatic
#081E0D #144E22 #217F37 #2EB04C #4AD06A
Accessibility & contrast
On white
5.05
#217F37 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#217F37 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F37
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F37 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817330
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f37; /* rgb */ color: rgb(33, 127, 55); /* oklch */ color: oklch(52.6% 0.138 147.3);
Tailwind
colors: {
custom: {
50: '#6ba570',
500: '#217f37',
950: '#000000',
},
}SCSS
$custom: #217f37; $custom-light: #6ba570; $custom-dark: #000000;
JSON
{
"hex": "#217f37",
"rgb": {
"r": 33,
"g": 127,
"b": 55
},
"hsl": {
"h": 134.043,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52595,
"c": 0.13793,
"h": 147.3
},
"luminance": 0.15778
}Semantic roles & 50–950 ramp
primary
#217F37
secondary
#B24A99
accent
#46BDE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A