#217C2C#217C2C
#217C2C is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.144 H 144.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #217C2C |
|---|---|
| RGB | rgb(33, 124, 44) |
| HSL | hsl(127, 58%, 31%) |
| HSV | hsv(127, 73%, 49%) |
| CMYK | cmyk(73.4%, 0%, 64.5%, 51.4%) |
| CIE-LAB | lab(45.52, -43.46, 35.30) |
| CIE-LCH | lch(45.52, 55.99, 140.92°) |
| OKLab | oklab(51.6% -0.1174 0.0826) |
| OKLCH | oklch(51.6% 0.144 144.9) |
| XYZ | xyz(8.2889, 14.9196, 4.8253) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.95
Tree Green
#2A7E19
ΔE00 3.33
Green
#008000
ΔE00 4.76
Jungle Green
#048243
ΔE00 4.78
Forestgreen (CSS)
#228B22
ΔE00 5.98
Dark Grass Green
#388004
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C2C #7C2171
analogous
#437C21 #217C2C #217C59
triadic
#217C2C #2C217C #7C2C21
tetradic
#217C2C #21437C #7C2171 #7C5921
square
#217C2C #21437C #7C2171 #7C5921
split-complementary
#217C2C #59217C #7C2143
monochromatic
#071B0A #144C1B #217C2C #2EAC3D #49CF59
Accessibility & contrast
On white
5.27
#217C2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#217C2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C2C
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C2C | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #217c2c; /* rgb */ color: rgb(33, 124, 44); /* oklch */ color: oklch(51.6% 0.144 144.9);
Tailwind
colors: {
custom: {
50: '#6ba368',
500: '#217c2c',
950: '#000000',
},
}SCSS
$custom: #217c2c; $custom-light: #6ba368; $custom-dark: #000000;
JSON
{
"hex": "#217c2c",
"rgb": {
"r": 33,
"g": 124,
"b": 44
},
"hsl": {
"h": 127.253,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.51596,
"c": 0.14358,
"h": 144.9
},
"luminance": 0.1492
}Semantic roles & 50–950 ramp
primary
#217C2C
secondary
#AF4AA3
accent
#47CFE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A