#217A1A#217A1A
#217A1A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.154 H 142.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #217A1A |
|---|---|
| RGB | rgb(33, 122, 26) |
| HSL | hsl(116, 65%, 29%) |
| HSV | hsv(116, 79%, 48%) |
| CMYK | cmyk(73%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(44.68, -44.54, 42.08) |
| CIE-LCH | lch(44.68, 61.27, 136.63°) |
| OKLab | oklab(50.85% -0.1213 0.0946) |
| OKLCH | oklch(50.85% 0.154 142.1) |
| XYZ | xyz(7.7727, 14.3161, 3.3307) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.74
Green
#008000
ΔE00 3.05
Dark Grass Green
#388004
ΔE00 4.36
Darkish Green
#287C37
ΔE00 4.43
Forestgreen (CSS)
#228B22
ΔE00 6.02
Jungle Green
#048243
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217A1A #731A7A
analogous
#517A1A #217A1A #1A7A43
triadic
#217A1A #1A217A #7A1A21
tetradic
#217A1A #1A517A #731A7A #7A431A
square
#217A1A #1A517A #731A7A #7A431A
split-complementary
#217A1A #431A7A #7A1A51
monochromatic
#071905 #13480F #217A1A #2FAC25 #45D539
Accessibility & contrast
On white
5.44
#217A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#217A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217A1A
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217A1A | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#087668
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #217a1a; /* rgb */ color: rgb(33, 122, 26); /* oklch */ color: oklch(50.9% 0.154 142.1);
Tailwind
colors: {
custom: {
50: '#6ba15e',
500: '#217a1a',
950: '#000000',
},
}SCSS
$custom: #217a1a; $custom-light: #6ba15e; $custom-dark: #000000;
JSON
{
"hex": "#217a1a",
"rgb": {
"r": 33,
"g": 122,
"b": 26
},
"hsl": {
"h": 115.625,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.50851,
"c": 0.15379,
"h": 142.1
},
"luminance": 0.14317
}Semantic roles & 50–950 ramp
primary
#217A1A
secondary
#A641AE
accent
#40E8DC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79