#217C1E#217C1E
#217C1E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 142.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #217C1E |
|---|---|
| RGB | rgb(33, 124, 30) |
| HSL | hsl(118, 61%, 30%) |
| HSV | hsv(118, 76%, 49%) |
| CMYK | cmyk(73.4%, 0%, 75.8%, 51.4%) |
| CIE-LAB | lab(45.40, -44.92, 41.29) |
| CIE-LCH | lch(45.40, 61.01, 137.41°) |
| OKLab | oklab(51.46% -0.1221 0.0935) |
| OKLCH | oklch(51.46% 0.154 142.6) |
| XYZ | xyz(8.0687, 14.8315, 3.6656) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.47
Green
#008000
ΔE00 2.91
Darkish Green
#287C37
ΔE00 4.02
Dark Grass Green
#388004
ΔE00 4.34
Forestgreen (CSS)
#228B22
ΔE00 5.36
Jungle Green
#048243
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C1E #791E7C
analogous
#507C1E #217C1E #1E7C4A
triadic
#217C1E #1E217C #7C1E21
tetradic
#217C1E #1E507C #791E7C #7C4A1E
square
#217C1E #1E507C #791E7C #7C4A1E
split-complementary
#217C1E #4A1E7C #7C1E50
monochromatic
#071906 #144B12 #217C1E #2EAD2A #47D143
Accessibility & contrast
On white
5.29
#217C1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#217C1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C1E
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C1E | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217c1e; /* rgb */ color: rgb(33, 124, 30); /* oklch */ color: oklch(51.5% 0.154 142.6);
Tailwind
colors: {
custom: {
50: '#6ca360',
500: '#217c1e',
950: '#000000',
},
}SCSS
$custom: #217c1e; $custom-light: #6ca360; $custom-dark: #000000;
JSON
{
"hex": "#217c1e",
"rgb": {
"r": 33,
"g": 124,
"b": 30
},
"hsl": {
"h": 118.085,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.51457,
"c": 0.15379,
"h": 142.6
},
"luminance": 0.14832
}Semantic roles & 50–950 ramp
primary
#217C1E
secondary
#AC46AF
accent
#44E4DF
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79