#217D2C#217D2C
#217D2C is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.145 H 144.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #217D2C |
|---|---|
| RGB | rgb(33, 125, 44) |
| HSL | hsl(127, 58%, 31%) |
| HSV | hsv(127, 74%, 49%) |
| CMYK | cmyk(73.6%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(45.87, -43.83, 35.69) |
| CIE-LCH | lch(45.87, 56.52, 140.84°) |
| OKLab | oklab(51.88% -0.1184 0.0834) |
| OKLCH | oklch(51.88% 0.145 144.8) |
| XYZ | xyz(8.4149, 15.1715, 4.8673) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.07
Tree Green
#2A7E19
ΔE00 3.18
Green
#008000
ΔE00 4.59
Jungle Green
#048243
ΔE00 4.73
Forestgreen (CSS)
#228B22
ΔE00 5.63
Dark Grass Green
#388004
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217D2C #7D2172
analogous
#447D21 #217D2C #217D5A
triadic
#217D2C #2C217D #7D2C21
tetradic
#217D2C #21447D #7D2172 #7D5A21
square
#217D2C #21447D #7D2172 #7D5A21
split-complementary
#217D2C #5A217D #7D2144
monochromatic
#071C0A #144D1B #217D2C #2EAD3D #49CF59
Accessibility & contrast
On white
5.21
#217D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#217D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217D2C
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217D2C | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217d2c; /* rgb */ color: rgb(33, 125, 44); /* oklch */ color: oklch(51.9% 0.145 144.8);
Tailwind
colors: {
custom: {
50: '#6ba468',
500: '#217d2c',
950: '#000000',
},
}SCSS
$custom: #217d2c; $custom-light: #6ba468; $custom-dark: #000000;
JSON
{
"hex": "#217d2c",
"rgb": {
"r": 33,
"g": 125,
"b": 44
},
"hsl": {
"h": 127.174,
"s": 58.228,
"l": 30.98
},
"oklch": {
"l": 0.51881,
"c": 0.14487,
"h": 144.8
},
"luminance": 0.15172
}Semantic roles & 50–950 ramp
primary
#217D2C
secondary
#B04AA4
accent
#46CFE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A