#217B2F#217B2F
#217B2F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.140 H 145.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #217B2F |
|---|---|
| RGB | rgb(33, 123, 47) |
| HSL | hsl(129, 58%, 31%) |
| HSV | hsv(129, 73%, 48%) |
| CMYK | cmyk(73.2%, 0%, 61.8%, 51.8%) |
| CIE-LAB | lab(45.21, -42.71, 33.48) |
| CIE-LCH | lch(45.21, 54.27, 141.90°) |
| OKLab | oklab(51.35% -0.1153 0.079) |
| OKLCH | oklch(51.35% 0.14 145.6) |
| XYZ | xyz(8.2227, 14.6936, 5.0916) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.40
Tree Green
#2A7E19
ΔE00 4.02
Jungle Green
#048243
ΔE00 4.41
Green
#008000
ΔE00 5.45
Forestgreen (CSS)
#228B22
ΔE00 6.60
Dark Grass Green
#388004
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217B2F #7B216D
analogous
#407B21 #217B2F #217B5C
triadic
#217B2F #2F217B #7B2F21
tetradic
#217B2F #21407B #7B216D #7B5C21
square
#217B2F #21407B #7B216D #7B5C21
split-complementary
#217B2F #5C217B #7B2140
monochromatic
#071A0A #144B1D #217B2F #2EAB41 #48CE5D
Accessibility & contrast
On white
5.33
#217B2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#217B2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217B2F
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217B2F | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217b2f; /* rgb */ color: rgb(33, 123, 47); /* oklch */ color: oklch(51.3% 0.140 145.6);
Tailwind
colors: {
custom: {
50: '#6aa26a',
500: '#217b2f',
950: '#000000',
},
}SCSS
$custom: #217b2f; $custom-light: #6aa26a; $custom-dark: #000000;
JSON
{
"hex": "#217b2f",
"rgb": {
"r": 33,
"g": 123,
"b": 47
},
"hsl": {
"h": 129.333,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.51348,
"c": 0.13974,
"h": 145.6
},
"luminance": 0.14694
}Semantic roles & 50–950 ramp
primary
#217B2F
secondary
#AE4A9E
accent
#47C9E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A