#217C30#217C30
#217C30 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.140 H 145.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #217C30 |
|---|---|
| RGB | rgb(33, 124, 48) |
| HSL | hsl(130, 58%, 31%) |
| HSV | hsv(130, 73%, 49%) |
| CMYK | cmyk(73.4%, 0%, 61.3%, 51.4%) |
| CIE-LAB | lab(45.57, -42.95, 33.40) |
| CIE-LCH | lch(45.57, 54.40, 142.13°) |
| OKLab | oklab(51.65% -0.1159 0.0789) |
| OKLCH | oklch(51.65% 0.14 145.8) |
| XYZ | xyz(8.3678, 14.9511, 5.2406) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.29
Tree Green
#2A7E19
ΔE00 4.01
Jungle Green
#048243
ΔE00 4.17
Green
#008000
ΔE00 5.43
Forestgreen (CSS)
#228B22
ΔE00 6.34
Dark Grass Green
#388004
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C30 #7C216D
analogous
#3F7C21 #217C30 #217C5D
triadic
#217C30 #30217C #7C3021
tetradic
#217C30 #213F7C #7C216D #7C5D21
square
#217C30 #213F7C #7C216D #7C5D21
split-complementary
#217C30 #5D217C #7C213F
monochromatic
#071B0B #144C1D #217C30 #2EAC43 #49CF5F
Accessibility & contrast
On white
5.26
#217C30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#217C30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C30
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C30 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #217c30; /* rgb */ color: rgb(33, 124, 48); /* oklch */ color: oklch(51.6% 0.140 145.8);
Tailwind
colors: {
custom: {
50: '#6ba36b',
500: '#217c30',
950: '#000000',
},
}SCSS
$custom: #217c30; $custom-light: #6ba36b; $custom-dark: #000000;
JSON
{
"hex": "#217c30",
"rgb": {
"r": 33,
"g": 124,
"b": 48
},
"hsl": {
"h": 129.89,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.51646,
"c": 0.1402,
"h": 145.8
},
"luminance": 0.14952
}Semantic roles & 50–950 ramp
primary
#217C30
secondary
#AF4A9E
accent
#47C8E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A