#217C1A#217C1A
#217C1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.156 H 142.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #217C1A |
|---|---|
| RGB | rgb(33, 124, 26) |
| HSL | hsl(116, 65%, 29%) |
| HSV | hsv(116, 79%, 49%) |
| CMYK | cmyk(73.4%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.38, -45.24, 42.76) |
| CIE-LCH | lch(45.38, 62.25, 136.62°) |
| OKLab | oklab(51.43% -0.1232 0.096) |
| OKLCH | oklch(51.43% 0.156 142.1) |
| XYZ | xyz(8.0208, 14.8123, 3.4134) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.17
Green
#008000
ΔE00 2.54
Dark Grass Green
#388004
ΔE00 3.95
Darkish Green
#287C37
ΔE00 4.51
Forestgreen (CSS)
#228B22
ΔE00 5.32
Emerald Green
#028F1E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C1A #751A7C
analogous
#527C1A #217C1A #1A7C44
triadic
#217C1A #1A217C #7C1A21
tetradic
#217C1A #1A527C #751A7C #7C441A
square
#217C1A #1A527C #751A7C #7C441A
split-complementary
#217C1A #441A7C #7C1A52
monochromatic
#071905 #14490F #217C1A #2EAF25 #46D63B
Accessibility & contrast
On white
5.30
#217C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#217C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C1A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C1A | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#067869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217c1a; /* rgb */ color: rgb(33, 124, 26); /* oklch */ color: oklch(51.4% 0.156 142.1);
Tailwind
colors: {
custom: {
50: '#6ca35e',
500: '#217c1a',
950: '#000000',
},
}SCSS
$custom: #217c1a; $custom-light: #6ca35e; $custom-dark: #000000;
JSON
{
"hex": "#217c1a",
"rgb": {
"r": 33,
"g": 124,
"b": 26
},
"hsl": {
"h": 115.714,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.51426,
"c": 0.15616,
"h": 142.1
},
"luminance": 0.14813
}Semantic roles & 50–950 ramp
primary
#217C1A
secondary
#A842B0
accent
#40E8DC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79