#217C1D#217C1D
#217C1D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.154 H 142.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #217C1D |
|---|---|
| RGB | rgb(33, 124, 29) |
| HSL | hsl(117, 62%, 30%) |
| HSV | hsv(117, 77%, 49%) |
| CMYK | cmyk(73.4%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(45.40, -45.00, 41.67) |
| CIE-LCH | lch(45.40, 61.33, 137.20°) |
| OKLab | oklab(51.45% -0.1224 0.0942) |
| OKLCH | oklch(51.45% 0.154 142.4) |
| XYZ | xyz(8.0561, 14.8265, 3.5994) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.38
Green
#008000
ΔE00 2.81
Darkish Green
#287C37
ΔE00 4.15
Dark Grass Green
#388004
ΔE00 4.23
Forestgreen (CSS)
#228B22
ΔE00 5.34
Emerald Green
#028F1E
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C1D #781D7C
analogous
#507C1D #217C1D #1D7C49
triadic
#217C1D #1D217C #7C1D21
tetradic
#217C1D #1D507C #781D7C #7C491D
square
#217C1D #1D507C #781D7C #7C491D
split-complementary
#217C1D #491D7C #7C1D50
monochromatic
#071906 #144A11 #217C1D #2EAE29 #47D341
Accessibility & contrast
On white
5.30
#217C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#217C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C1D
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C1D | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217c1d; /* rgb */ color: rgb(33, 124, 29); /* oklch */ color: oklch(51.4% 0.154 142.4);
Tailwind
colors: {
custom: {
50: '#6ca360',
500: '#217c1d',
950: '#000000',
},
}SCSS
$custom: #217c1d; $custom-light: #6ca360; $custom-dark: #000000;
JSON
{
"hex": "#217c1d",
"rgb": {
"r": 33,
"g": 124,
"b": 29
},
"hsl": {
"h": 117.474,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.51449,
"c": 0.15441,
"h": 142.4
},
"luminance": 0.14827
}Semantic roles & 50–950 ramp
primary
#217C1D
secondary
#AB45B0
accent
#43E5DE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79