#217C38#217C38
#217C38 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.133 H 147.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #217C38 |
|---|---|
| RGB | rgb(33, 124, 56) |
| HSL | hsl(135, 58%, 31%) |
| HSV | hsv(135, 73%, 49%) |
| CMYK | cmyk(73.4%, 0%, 54.8%, 51.4%) |
| CIE-LAB | lab(45.67, -41.79, 29.42) |
| CIE-LCH | lch(45.67, 51.10, 144.85°) |
| OKLab | oklab(51.76% -0.1125 0.0708) |
| OKLCH | oklch(51.76% 0.133 147.8) |
| XYZ | xyz(8.5480, 15.0232, 6.1899) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.69
Jungle Green
#048243
ΔE00 3.03
Tree Green
#2A7E19
ΔE00 5.50
Green
#008000
ΔE00 6.89
Sea Green
#2E8B57
ΔE00 7.11
Forestgreen (CSS)
#228B22
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C38 #7C2165
analogous
#377C21 #217C38 #217C65
triadic
#217C38 #38217C #7C3821
tetradic
#217C38 #21377C #7C2165 #7C6521
square
#217C38 #21377C #7C2165 #7C6521
split-complementary
#217C38 #65217C #7C2137
monochromatic
#071B0C #144C22 #217C38 #2EAC4E #49CF6B
Accessibility & contrast
On white
5.24
#217C38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#217C38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C38
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C38 | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7132
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #217c38; /* rgb */ color: rgb(33, 124, 56); /* oklch */ color: oklch(51.8% 0.133 147.8);
Tailwind
colors: {
custom: {
50: '#6aa370',
500: '#217c38',
950: '#000000',
},
}SCSS
$custom: #217c38; $custom-light: #6aa370; $custom-dark: #000000;
JSON
{
"hex": "#217c38",
"rgb": {
"r": 33,
"g": 124,
"b": 56
},
"hsl": {
"h": 135.165,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.5176,
"c": 0.13294,
"h": 147.8
},
"luminance": 0.15024
}Semantic roles & 50–950 ramp
primary
#217C38
secondary
#AF4A95
accent
#47BAE1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A