#217F39#217F39
#217F39 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.136 H 147.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #217F39 |
|---|---|
| RGB | rgb(33, 127, 57) |
| HSL | hsl(135, 59%, 31%) |
| HSV | hsv(135, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 55.1%, 50.2%) |
| CIE-LAB | lab(46.71, -42.77, 30.16) |
| CIE-LCH | lch(46.71, 52.34, 144.81°) |
| OKLab | oklab(52.63% -0.1152 0.0725) |
| OKLCH | oklch(52.63% 0.136 147.8) |
| XYZ | xyz(8.9544, 15.7965, 6.4472) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.19
Jungle Green
#048243
ΔE00 2.59
Tree Green
#2A7E19
ΔE00 5.28
Forestgreen (CSS)
#228B22
ΔE00 6.42
Sea Green
#2E8B57
ΔE00 6.46
Green
#008000
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F39 #7F2167
analogous
#387F21 #217F39 #217F68
triadic
#217F39 #39217F #7F3921
tetradic
#217F39 #21387F #7F2167 #7F6821
square
#217F39 #21387F #7F2167 #7F6821
split-complementary
#217F39 #68217F #7F2138
monochromatic
#081E0D #144E23 #217F39 #2EB04F #4AD06C
Accessibility & contrast
On white
5.05
#217F39 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#217F39 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F39
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F39 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #217f39; /* rgb */ color: rgb(33, 127, 57); /* oklch */ color: oklch(52.6% 0.136 147.8);
Tailwind
colors: {
custom: {
50: '#6ba571',
500: '#217f39',
950: '#000000',
},
}SCSS
$custom: #217f39; $custom-light: #6ba571; $custom-dark: #000000;
JSON
{
"hex": "#217f39",
"rgb": {
"r": 33,
"g": 127,
"b": 57
},
"hsl": {
"h": 135.319,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52625,
"c": 0.13609,
"h": 147.8
},
"luminance": 0.15797
}Semantic roles & 50–950 ramp
primary
#217F39
secondary
#B24A97
accent
#46BAE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B