#217F3A#217F3A
#217F3A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.135 H 148.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #217F3A |
|---|---|
| RGB | rgb(33, 127, 58) |
| HSL | hsl(136, 59%, 31%) |
| HSV | hsv(136, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 54.3%, 50.2%) |
| CIE-LAB | lab(46.72, -42.62, 29.65) |
| CIE-LCH | lch(46.72, 51.92, 145.17°) |
| OKLab | oklab(52.64% -0.1147 0.0714) |
| OKLCH | oklch(52.64% 0.135 148.1) |
| XYZ | xyz(8.9796, 15.8066, 6.5799) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.24
Jungle Green
#048243
ΔE00 2.43
Tree Green
#2A7E19
ΔE00 5.48
Sea Green
#2E8B57
ΔE00 6.32
Forestgreen (CSS)
#228B22
ΔE00 6.58
Green
#008000
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F3A #7F2166
analogous
#377F21 #217F3A #217F69
triadic
#217F3A #3A217F #7F3A21
tetradic
#217F3A #21377F #7F2166 #7F6921
square
#217F3A #21377F #7F2166 #7F6921
split-complementary
#217F3A #69217F #7F2137
monochromatic
#081E0E #144E24 #217F3A #2EB050 #4AD06E
Accessibility & contrast
On white
5.05
#217F3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#217F3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F3A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F3A | 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)
#807334
Deuteranopia (green-blind)
#756C3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f3a; /* rgb */ color: rgb(33, 127, 58); /* oklch */ color: oklch(52.6% 0.135 148.1);
Tailwind
colors: {
custom: {
50: '#6ba572',
500: '#217f3a',
950: '#000000',
},
}SCSS
$custom: #217f3a; $custom-light: #6ba572; $custom-dark: #000000;
JSON
{
"hex": "#217f3a",
"rgb": {
"r": 33,
"g": 127,
"b": 58
},
"hsl": {
"h": 135.957,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.5264,
"c": 0.13515,
"h": 148.1
},
"luminance": 0.15808
}Semantic roles & 50–950 ramp
primary
#217F3A
secondary
#B24A96
accent
#46B8E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B