#217F2C#217F2C
#217F2C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.147 H 144.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #217F2C |
|---|---|
| RGB | rgb(33, 127, 44) |
| HSL | hsl(127, 59%, 31%) |
| HSV | hsv(127, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(46.56, -44.56, 36.46) |
| CIE-LCH | lch(46.56, 57.57, 140.70°) |
| OKLab | oklab(52.45% -0.1204 0.0851) |
| OKLCH | oklch(52.45% 0.147 144.8) |
| XYZ | xyz(8.6706, 15.6830, 4.9525) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.46
Tree Green
#2A7E19
ΔE00 2.98
Green
#008000
ΔE00 4.31
Jungle Green
#048243
ΔE00 4.71
Forestgreen (CSS)
#228B22
ΔE00 4.91
Dark Grass Green
#388004
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F2C #7F2174
analogous
#457F21 #217F2C #217F5B
triadic
#217F2C #2C217F #7F2C21
tetradic
#217F2C #21457F #7F2174 #7F5B21
square
#217F2C #21457F #7F2174 #7F5B21
split-complementary
#217F2C #5B217F #7F2145
monochromatic
#081E0A #144E1B #217F2C #2EB03D #4AD05A
Accessibility & contrast
On white
5.08
#217F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#217F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F2C
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F2C | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f2c; /* rgb */ color: rgb(33, 127, 44); /* oklch */ color: oklch(52.5% 0.147 144.8);
Tailwind
colors: {
custom: {
50: '#6ca569',
500: '#217f2c',
950: '#000000',
},
}SCSS
$custom: #217f2c; $custom-light: #6ca569; $custom-dark: #000000;
JSON
{
"hex": "#217f2c",
"rgb": {
"r": 33,
"g": 127,
"b": 44
},
"hsl": {
"h": 127.021,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52451,
"c": 0.14743,
"h": 144.8
},
"luminance": 0.15684
}Semantic roles & 50–950 ramp
primary
#217F2C
secondary
#B24AA6
accent
#46D0E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A