#217F38#217F38
#217F38 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.137 H 147.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #217F38 |
|---|---|
| RGB | rgb(33, 127, 56) |
| HSL | hsl(135, 59%, 31%) |
| HSV | hsv(135, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 55.9%, 50.2%) |
| CIE-LAB | lab(46.69, -42.93, 30.67) |
| CIE-LCH | lch(46.69, 52.76, 144.46°) |
| OKLab | oklab(52.61% -0.1156 0.0735) |
| OKLCH | oklch(52.61% 0.137 147.5) |
| XYZ | xyz(8.9297, 15.7866, 6.3171) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.17
Jungle Green
#048243
ΔE00 2.75
Tree Green
#2A7E19
ΔE00 5.09
Forestgreen (CSS)
#228B22
ΔE00 6.28
Green
#008000
ΔE00 6.41
Sea Green
#2E8B57
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F38 #7F2168
analogous
#397F21 #217F38 #217F67
triadic
#217F38 #38217F #7F3821
tetradic
#217F38 #21397F #7F2168 #7F6721
square
#217F38 #21397F #7F2168 #7F6721
split-complementary
#217F38 #67217F #7F2139
monochromatic
#081E0D #144E23 #217F38 #2EB04D #4AD06B
Accessibility & contrast
On white
5.05
#217F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#217F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F38
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F38 | 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)
#807332
Deuteranopia (green-blind)
#756C3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f38; /* rgb */ color: rgb(33, 127, 56); /* oklch */ color: oklch(52.6% 0.137 147.5);
Tailwind
colors: {
custom: {
50: '#6ba570',
500: '#217f38',
950: '#000000',
},
}SCSS
$custom: #217f38; $custom-light: #6ba570; $custom-dark: #000000;
JSON
{
"hex": "#217f38",
"rgb": {
"r": 33,
"g": 127,
"b": 56
},
"hsl": {
"h": 134.681,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.5261,
"c": 0.13701,
"h": 147.5
},
"luminance": 0.15788
}Semantic roles & 50–950 ramp
primary
#217F38
secondary
#B24A98
accent
#46BCE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A