#217F2E#217F2E
#217F2E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.146 H 145.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #217F2E |
|---|---|
| RGB | rgb(33, 127, 46) |
| HSL | hsl(128, 59%, 31%) |
| HSV | hsv(128, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.58, -44.31, 35.54) |
| CIE-LCH | lch(46.58, 56.80, 141.27°) |
| OKLab | oklab(52.48% -0.1197 0.0833) |
| OKLCH | oklch(52.48% 0.146 145.2) |
| XYZ | xyz(8.7091, 15.6984, 5.1553) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.17
Tree Green
#2A7E19
ΔE00 3.30
Jungle Green
#048243
ΔE00 4.40
Green
#008000
ΔE00 4.63
Forestgreen (CSS)
#228B22
ΔE00 5.09
Dark Grass Green
#388004
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F2E #7F2172
analogous
#437F21 #217F2E #217F5D
triadic
#217F2E #2E217F #7F2E21
tetradic
#217F2E #21437F #7F2172 #7F5D21
square
#217F2E #21437F #7F2172 #7F5D21
split-complementary
#217F2E #5D217F #7F2143
monochromatic
#081E0B #144E1C #217F2E #2EB040 #4AD05D
Accessibility & contrast
On white
5.07
#217F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#217F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F2E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F2E | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f2e; /* rgb */ color: rgb(33, 127, 46); /* oklch */ color: oklch(52.5% 0.146 145.2);
Tailwind
colors: {
custom: {
50: '#6ba56a',
500: '#217f2e',
950: '#000000',
},
}SCSS
$custom: #217f2e; $custom-light: #6ba56a; $custom-dark: #000000;
JSON
{
"hex": "#217f2e",
"rgb": {
"r": 33,
"g": 127,
"b": 46
},
"hsl": {
"h": 128.298,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52475,
"c": 0.1458,
"h": 145.2
},
"luminance": 0.15699
}Semantic roles & 50–950 ramp
primary
#217F2E
secondary
#B24AA3
accent
#46CCE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A