#217F36#217F36
#217F36 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.139 H 147.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #217F36 |
|---|---|
| RGB | rgb(33, 127, 54) |
| HSL | hsl(133, 59%, 31%) |
| HSV | hsv(133, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 57.5%, 50.2%) |
| CIE-LAB | lab(46.67, -43.23, 31.67) |
| CIE-LCH | lch(46.67, 53.58, 143.77°) |
| OKLab | oklab(52.58% -0.1165 0.0756) |
| OKLCH | oklch(52.58% 0.139 147) |
| XYZ | xyz(8.8818, 15.7674, 6.0646) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.23
Jungle Green
#048243
ΔE00 3.08
Tree Green
#2A7E19
ΔE00 4.71
Forestgreen (CSS)
#228B22
ΔE00 6.00
Green
#008000
ΔE00 6.03
Sea Green
#2E8B57
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F36 #7F216A
analogous
#3B7F21 #217F36 #217F65
triadic
#217F36 #36217F #7F3621
tetradic
#217F36 #213B7F #7F216A #7F6521
square
#217F36 #213B7F #7F216A #7F6521
split-complementary
#217F36 #65217F #7F213B
monochromatic
#081E0D #144E21 #217F36 #2EB04B #4AD068
Accessibility & contrast
On white
5.06
#217F36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#217F36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F36
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F36 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81732F
Deuteranopia (green-blind)
#766C3C
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f36; /* rgb */ color: rgb(33, 127, 54); /* oklch */ color: oklch(52.6% 0.139 147.0);
Tailwind
colors: {
custom: {
50: '#6ba56f',
500: '#217f36',
950: '#000000',
},
}SCSS
$custom: #217f36; $custom-light: #6ba56f; $custom-dark: #000000;
JSON
{
"hex": "#217f36",
"rgb": {
"r": 33,
"g": 127,
"b": 54
},
"hsl": {
"h": 133.404,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.5258,
"c": 0.13884,
"h": 147
},
"luminance": 0.15768
}Semantic roles & 50–950 ramp
primary
#217F36
secondary
#B24A9B
accent
#46BFE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A