#217A1E#217A1E
#217A1E is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.151 H 142.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #217A1E |
|---|---|
| RGB | rgb(33, 122, 30) |
| HSL | hsl(118, 61%, 30%) |
| HSV | hsv(118, 75%, 48%) |
| CMYK | cmyk(73%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(44.71, -44.21, 40.58) |
| CIE-LCH | lch(44.71, 60.01, 137.45°) |
| OKLab | oklab(50.88% -0.1202 0.092) |
| OKLCH | oklch(50.88% 0.151 142.6) |
| XYZ | xyz(7.8206, 14.3353, 3.5829) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.00
Green
#008000
ΔE00 3.39
Darkish Green
#287C37
ΔE00 3.93
Dark Grass Green
#388004
ΔE00 4.74
Forestgreen (CSS)
#228B22
ΔE00 6.07
Jungle Green
#048243
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217A1E #771E7A
analogous
#4F7A1E #217A1E #1E7A49
triadic
#217A1E #1E217A #7A1E21
tetradic
#217A1E #1E4F7A #771E7A #7A491E
square
#217A1E #1E4F7A #771E7A #7A491E
split-complementary
#217A1E #491E7A #7A1E4F
monochromatic
#071906 #144912 #217A1E #2EAB2A #47D042
Accessibility & contrast
On white
5.43
#217A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#217A1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217A1E
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217A1E | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#067668
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #217a1e; /* rgb */ color: rgb(33, 122, 30); /* oklch */ color: oklch(50.9% 0.151 142.6);
Tailwind
colors: {
custom: {
50: '#6ba160',
500: '#217a1e',
950: '#000000',
},
}SCSS
$custom: #217a1e; $custom-light: #6ba160; $custom-dark: #000000;
JSON
{
"hex": "#217a1e",
"rgb": {
"r": 33,
"g": 122,
"b": 30
},
"hsl": {
"h": 118.043,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.50882,
"c": 0.15136,
"h": 142.6
},
"luminance": 0.14336
}Semantic roles & 50–950 ramp
primary
#217A1E
secondary
#AA46AE
accent
#44E4DE
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79