#217A2C#217A2C
#217A2C is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.141 H 145.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #217A2C |
|---|---|
| RGB | rgb(33, 122, 44) |
| HSL | hsl(127, 57%, 30%) |
| HSV | hsv(127, 73%, 48%) |
| CMYK | cmyk(73%, 0%, 63.9%, 52.2%) |
| CIE-LAB | lab(44.83, -42.72, 34.52) |
| CIE-LCH | lch(44.83, 54.92, 141.06°) |
| OKLab | oklab(51.03% -0.1154 0.0809) |
| OKLCH | oklch(51.03% 0.141 145) |
| XYZ | xyz(8.0408, 14.4234, 4.7426) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.89
Tree Green
#2A7E19
ΔE00 3.74
Jungle Green
#048243
ΔE00 4.94
Green
#008000
ΔE00 5.18
Dark Grass Green
#388004
ΔE00 6.52
Forestgreen (CSS)
#228B22
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217A2C #7A216F
analogous
#427A21 #217A2C #217A58
triadic
#217A2C #2C217A #7A2C21
tetradic
#217A2C #21427A #7A216F #7A5821
square
#217A2C #21427A #7A216F #7A5821
split-complementary
#217A2C #58217A #7A2142
monochromatic
#071A09 #144A1B #217A2C #2EAA3D #48CD58
Accessibility & contrast
On white
5.41
#217A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#217A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217A2C
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217A2C | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E23
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #217a2c; /* rgb */ color: rgb(33, 122, 44); /* oklch */ color: oklch(51.0% 0.141 145.0);
Tailwind
colors: {
custom: {
50: '#6aa168',
500: '#217a2c',
950: '#000000',
},
}SCSS
$custom: #217a2c; $custom-light: #6aa168; $custom-dark: #000000;
JSON
{
"hex": "#217a2c",
"rgb": {
"r": 33,
"g": 122,
"b": 44
},
"hsl": {
"h": 127.416,
"s": 57.419,
"l": 30.392
},
"oklch": {
"l": 0.51025,
"c": 0.14098,
"h": 145
},
"luminance": 0.14424
}Semantic roles & 50–950 ramp
primary
#217A2C
secondary
#AD4AA1
accent
#47CEE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A