#217F26#217F26
#217F26 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.152 H 143.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #217F26 |
|---|---|
| RGB | rgb(33, 127, 38) |
| HSL | hsl(123, 59%, 31%) |
| HSV | hsv(123, 74%, 50%) |
| CMYK | cmyk(74%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(46.50, -45.22, 39.12) |
| CIE-LCH | lch(46.50, 59.80, 139.14°) |
| OKLab | oklab(52.39% -0.1225 0.09) |
| OKLCH | oklch(52.39% 0.152 143.7) |
| XYZ | xyz(8.5659, 15.6411, 4.4009) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.08
Darkish Green
#287C37
ΔE00 3.32
Green
#008000
ΔE00 3.41
Forestgreen (CSS)
#228B22
ΔE00 4.52
Dark Grass Green
#388004
ΔE00 4.84
Jungle Green
#048243
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F26 #7F217A
analogous
#4B7F21 #217F26 #217F55
triadic
#217F26 #26217F #7F2621
tetradic
#217F26 #214B7F #7F217A #7F5521
square
#217F26 #214B7F #7F217A #7F5521
split-complementary
#217F26 #55217F #7F214B
monochromatic
#081E09 #144E17 #217F26 #2EB035 #4AD051
Accessibility & contrast
On white
5.09
#217F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#217F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F26
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F26 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#776B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f26; /* rgb */ color: rgb(33, 127, 38); /* oklch */ color: oklch(52.4% 0.152 143.7);
Tailwind
colors: {
custom: {
50: '#6ca565',
500: '#217f26',
950: '#000000',
},
}SCSS
$custom: #217f26; $custom-light: #6ca565; $custom-dark: #000000;
JSON
{
"hex": "#217f26",
"rgb": {
"r": 33,
"g": 127,
"b": 38
},
"hsl": {
"h": 123.191,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.52387,
"c": 0.15203,
"h": 143.7
},
"luminance": 0.15642
}Semantic roles & 50–950 ramp
primary
#217F26
secondary
#B24AAC
accent
#46DAE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A