#217F35#217F35
#217F35 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.140 H 146.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #217F35 |
|---|---|
| RGB | rgb(33, 127, 53) |
| HSL | hsl(133, 59%, 31%) |
| HSV | hsv(133, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 58.3%, 50.2%) |
| CIE-LAB | lab(46.66, -43.37, 32.16) |
| CIE-LCH | lch(46.66, 54.00, 143.44°) |
| OKLab | oklab(52.57% -0.1169 0.0766) |
| OKLCH | oklch(52.57% 0.14 146.8) |
| XYZ | xyz(8.8585, 15.7581, 5.9422) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.30
Jungle Green
#048243
ΔE00 3.25
Tree Green
#2A7E19
ΔE00 4.53
Green
#008000
ΔE00 5.85
Forestgreen (CSS)
#228B22
ΔE00 5.87
Sea Green
#2E8B57
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F35 #7F216B
analogous
#3C7F21 #217F35 #217F64
triadic
#217F35 #35217F #7F3521
tetradic
#217F35 #213C7F #7F216B #7F6421
square
#217F35 #213C7F #7F216B #7F6421
split-complementary
#217F35 #64217F #7F213C
monochromatic
#081E0C #144E21 #217F35 #2EB049 #4AD067
Accessibility & contrast
On white
5.06
#217F35 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#217F35 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F35
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F35 | 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)
#81732E
Deuteranopia (green-blind)
#766C3B
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f35; /* rgb */ color: rgb(33, 127, 53); /* oklch */ color: oklch(52.6% 0.140 146.8);
Tailwind
colors: {
custom: {
50: '#6ba56e',
500: '#217f35',
950: '#000000',
},
}SCSS
$custom: #217f35; $custom-light: #6ba56e; $custom-dark: #000000;
JSON
{
"hex": "#217f35",
"rgb": {
"r": 33,
"g": 127,
"b": 53
},
"hsl": {
"h": 132.766,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52566,
"c": 0.13974,
"h": 146.8
},
"luminance": 0.15759
}Semantic roles & 50–950 ramp
primary
#217F35
secondary
#B24A9C
accent
#46C1E2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F07
muted
#7A7F7A