#217E2F#217E2F
#217E2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.144 H 145.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #217E2F |
|---|---|
| RGB | rgb(33, 126, 47) |
| HSL | hsl(129, 58%, 31%) |
| HSV | hsv(129, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.24, -43.82, 34.67) |
| CIE-LCH | lch(46.24, 55.88, 141.64°) |
| OKLab | oklab(52.2% -0.1183 0.0815) |
| OKLCH | oklch(52.2% 0.144 145.4) |
| XYZ | xyz(8.6006, 15.4493, 5.2175) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.78
Tree Green
#2A7E19
ΔE00 3.56
Jungle Green
#048243
ΔE00 4.24
Green
#008000
ΔE00 4.92
Forestgreen (CSS)
#228B22
ΔE00 5.54
Dark Grass Green
#388004
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E2F #7E2170
analogous
#417E21 #217E2F #217E5D
triadic
#217E2F #2F217E #7E2F21
tetradic
#217E2F #21417E #7E2170 #7E5D21
square
#217E2F #21417E #7E2170 #7E5D21
split-complementary
#217E2F #5D217E #7E2141
monochromatic
#081D0B #144E1D #217E2F #2EAE41 #4AD05E
Accessibility & contrast
On white
5.13
#217E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#217E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E2F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E2F | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217e2f; /* rgb */ color: rgb(33, 126, 47); /* oklch */ color: oklch(52.2% 0.144 145.4);
Tailwind
colors: {
custom: {
50: '#6ba46a',
500: '#217e2f',
950: '#000000',
},
}SCSS
$custom: #217e2f; $custom-light: #6ba46a; $custom-dark: #000000;
JSON
{
"hex": "#217e2f",
"rgb": {
"r": 33,
"g": 126,
"b": 47
},
"hsl": {
"h": 129.032,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.52203,
"c": 0.14367,
"h": 145.4
},
"luminance": 0.1545
}Semantic roles & 50–950 ramp
primary
#217E2F
secondary
#B14AA1
accent
#46CAE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A