#217B3A#217B3A
#217B3A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.130 H 148.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #217B3A |
|---|---|
| RGB | rgb(33, 123, 58) |
| HSL | hsl(137, 58%, 31%) |
| HSV | hsv(137, 73%, 48%) |
| CMYK | cmyk(73.2%, 0%, 52.8%, 51.8%) |
| CIE-LAB | lab(45.35, -41.08, 27.97) |
| CIE-LCH | lch(45.35, 49.70, 145.75°) |
| OKLab | oklab(51.51% -0.1106 0.0677) |
| OKLCH | oklch(51.51% 0.13 148.5) |
| XYZ | xyz(8.4732, 14.7938, 6.4111) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.16
Jungle Green
#048243
ΔE00 3.00
Tree Green
#2A7E19
ΔE00 6.08
Sea Green
#2E8B57
ΔE00 7.08
Green
#008000
ΔE00 7.49
Forestgreen (CSS)
#228B22
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217B3A #7B2162
analogous
#357B21 #217B3A #217B67
triadic
#217B3A #3A217B #7B3A21
tetradic
#217B3A #21357B #7B2162 #7B6721
square
#217B3A #21357B #7B2162 #7B6721
split-complementary
#217B3A #67217B #7B2135
monochromatic
#071A0C #144B23 #217B3A #2EAB51 #48CE6E
Accessibility & contrast
On white
5.30
#217B3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#217B3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217B3A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217B3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217B3A | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7034
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217b3a; /* rgb */ color: rgb(33, 123, 58); /* oklch */ color: oklch(51.5% 0.130 148.5);
Tailwind
colors: {
custom: {
50: '#6aa271',
500: '#217b3a',
950: '#000000',
},
}SCSS
$custom: #217b3a; $custom-light: #6aa271; $custom-dark: #000000;
JSON
{
"hex": "#217b3a",
"rgb": {
"r": 33,
"g": 123,
"b": 58
},
"hsl": {
"h": 136.667,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.51508,
"c": 0.12966,
"h": 148.5
},
"luminance": 0.14795
}Semantic roles & 50–950 ramp
primary
#217B3A
secondary
#AE4A92
accent
#47B6E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B