#217F3F#217F3F
#217F3F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.130 H 149.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #217F3F |
|---|---|
| RGB | rgb(33, 127, 63) |
| HSL | hsl(139, 59%, 31%) |
| HSV | hsv(139, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 50.4%, 50.2%) |
| CIE-LAB | lab(46.79, -41.80, 27.07) |
| CIE-LCH | lch(46.79, 49.80, 147.07°) |
| OKLab | oklab(52.72% -0.1125 0.0659) |
| OKLCH | oklch(52.72% 0.13 149.6) |
| XYZ | xyz(9.1130, 15.8599, 7.2827) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.77
Darkish Green
#287C37
ΔE00 1.86
Sea Green
#2E8B57
ΔE00 5.64
Tree Green
#2A7E19
ΔE00 6.50
Dark Sea Green
#11875D
ΔE00 6.81
Forestgreen (CSS)
#228B22
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F3F #7F2161
analogous
#327F21 #217F3F #217F6E
triadic
#217F3F #3F217F #7F3F21
tetradic
#217F3F #21327F #7F2161 #7F6E21
square
#217F3F #21327F #7F2161 #7F6E21
split-complementary
#217F3F #6E217F #7F2132
monochromatic
#081E0F #144E27 #217F3F #2EB057 #4AD075
Accessibility & contrast
On white
5.03
#217F3F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#217F3F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F3F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F3F | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80743A
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f3f; /* rgb */ color: rgb(33, 127, 63); /* oklch */ color: oklch(52.7% 0.130 149.6);
Tailwind
colors: {
custom: {
50: '#6ba575',
500: '#217f3f',
950: '#000000',
},
}SCSS
$custom: #217f3f; $custom-light: #6ba575; $custom-dark: #000000;
JSON
{
"hex": "#217f3f",
"rgb": {
"r": 33,
"g": 127,
"b": 63
},
"hsl": {
"h": 139.149,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52721,
"c": 0.13037,
"h": 149.6
},
"luminance": 0.15861
}Semantic roles & 50–950 ramp
primary
#217F3F
secondary
#B24A91
accent
#46B0E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B