#217D3F#217D3F
#217D3F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.128 H 149.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #217D3F |
|---|---|
| RGB | rgb(33, 125, 63) |
| HSL | hsl(140, 58%, 31%) |
| HSV | hsv(140, 74%, 49%) |
| CMYK | cmyk(73.6%, 0%, 49.6%, 51%) |
| CIE-LAB | lab(46.11, -41.02, 26.22) |
| CIE-LCH | lch(46.11, 48.68, 147.42°) |
| OKLab | oklab(52.16% -0.1104 0.064) |
| OKLCH | oklch(52.16% 0.128 149.9) |
| XYZ | xyz(8.8573, 15.3485, 7.1974) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.85
Jungle Green
#048243
ΔE00 2.16
Sea Green
#2E8B57
ΔE00 6.06
Tree Green
#2A7E19
ΔE00 6.77
Dark Sea Green
#11875D
ΔE00 6.89
Forestgreen (CSS)
#228B22
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217D3F #7D215F
analogous
#317D21 #217D3F #217D6D
triadic
#217D3F #3F217D #7D3F21
tetradic
#217D3F #21317D #7D215F #7D6D21
square
#217D3F #21317D #7D215F #7D6D21
split-complementary
#217D3F #6D217D #7D2131
monochromatic
#071C0E #144D27 #217D3F #2EAD57 #49CF75
Accessibility & contrast
On white
5.16
#217D3F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#217D3F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217D3F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217D3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217D3F | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E723A
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217d3f; /* rgb */ color: rgb(33, 125, 63); /* oklch */ color: oklch(52.2% 0.128 149.9);
Tailwind
colors: {
custom: {
50: '#6aa375',
500: '#217d3f',
950: '#000000',
},
}SCSS
$custom: #217d3f; $custom-light: #6aa375; $custom-dark: #000000;
JSON
{
"hex": "#217d3f",
"rgb": {
"r": 33,
"g": 125,
"b": 63
},
"hsl": {
"h": 139.565,
"s": 58.228,
"l": 30.98
},
"oklch": {
"l": 0.52157,
"c": 0.1276,
"h": 149.9
},
"luminance": 0.15349
}Semantic roles & 50–950 ramp
primary
#217D3F
secondary
#B04A8F
accent
#46AFE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B