#217E2E#217E2E
#217E2E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 145.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #217E2E |
|---|---|
| RGB | rgb(33, 126, 46) |
| HSL | hsl(128, 58%, 31%) |
| HSV | hsv(128, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 63.5%, 50.6%) |
| CIE-LAB | lab(46.23, -43.94, 35.14) |
| CIE-LCH | lch(46.23, 56.27, 141.35°) |
| OKLab | oklab(52.19% -0.1187 0.0825) |
| OKLCH | oklch(52.19% 0.145 145.2) |
| XYZ | xyz(8.5806, 15.4413, 5.1125) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.94
Tree Green
#2A7E19
ΔE00 3.39
Jungle Green
#048243
ΔE00 4.39
Green
#008000
ΔE00 4.76
Forestgreen (CSS)
#228B22
ΔE00 5.44
Dark Grass Green
#388004
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E2E #7E2171
analogous
#427E21 #217E2E #217E5C
triadic
#217E2E #2E217E #7E2E21
tetradic
#217E2E #21427E #7E2171 #7E5C21
square
#217E2E #21427E #7E2171 #7E5C21
split-complementary
#217E2E #5C217E #7E2142
monochromatic
#081D0B #144E1C #217E2E #2EAE40 #4AD05D
Accessibility & contrast
On white
5.14
#217E2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#217E2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E2E
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E2E | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217e2e; /* rgb */ color: rgb(33, 126, 46); /* oklch */ color: oklch(52.2% 0.145 145.2);
Tailwind
colors: {
custom: {
50: '#6ba46a',
500: '#217e2e',
950: '#000000',
},
}SCSS
$custom: #217e2e; $custom-light: #6ba46a; $custom-dark: #000000;
JSON
{
"hex": "#217e2e",
"rgb": {
"r": 33,
"g": 126,
"b": 46
},
"hsl": {
"h": 128.387,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.5219,
"c": 0.14451,
"h": 145.2
},
"luminance": 0.15442
}Semantic roles & 50–950 ramp
primary
#217E2E
secondary
#B14AA2
accent
#46CCE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A