#217E2D#217E2D
#217E2D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 145.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #217E2D |
|---|---|
| RGB | rgb(33, 126, 45) |
| HSL | hsl(128, 58%, 31%) |
| HSV | hsv(128, 74%, 49%) |
| CMYK | cmyk(73.8%, 0%, 64.3%, 50.6%) |
| CIE-LAB | lab(46.22, -44.07, 35.61) |
| CIE-LCH | lch(46.22, 56.66, 141.06°) |
| OKLab | oklab(52.18% -0.1191 0.0833) |
| OKLCH | oklch(52.18% 0.145 145) |
| XYZ | xyz(8.5611, 15.4336, 5.0099) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.09
Tree Green
#2A7E19
ΔE00 3.22
Jungle Green
#048243
ΔE00 4.55
Green
#008000
ΔE00 4.59
Forestgreen (CSS)
#228B22
ΔE00 5.35
Dark Grass Green
#388004
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E2D #7E2172
analogous
#437E21 #217E2D #217E5B
triadic
#217E2D #2D217E #7E2D21
tetradic
#217E2D #21437E #7E2172 #7E5B21
square
#217E2D #21437E #7E2172 #7E5B21
split-complementary
#217E2D #5B217E #7E2143
monochromatic
#081D0A #144E1C #217E2D #2EAE3E #4AD05B
Accessibility & contrast
On white
5.14
#217E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#217E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E2D
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E2D | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807224
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217e2d; /* rgb */ color: rgb(33, 126, 45); /* oklch */ color: oklch(52.2% 0.145 145.0);
Tailwind
colors: {
custom: {
50: '#6ba469',
500: '#217e2d',
950: '#000000',
},
}SCSS
$custom: #217e2d; $custom-light: #6ba469; $custom-dark: #000000;
JSON
{
"hex": "#217e2d",
"rgb": {
"r": 33,
"g": 126,
"b": 45
},
"hsl": {
"h": 127.742,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.52178,
"c": 0.14534,
"h": 145
},
"luminance": 0.15435
}Semantic roles & 50–950 ramp
primary
#217E2D
secondary
#B14AA3
accent
#46CEE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A