#217028#217028
#217028 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.131 H 144.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #217028 |
|---|---|
| RGB | rgb(33, 112, 40) |
| HSL | hsl(125, 54%, 28%) |
| HSV | hsv(125, 71%, 44%) |
| CMYK | cmyk(70.5%, 0%, 64.3%, 56.1%) |
| CIE-LAB | lab(41.32, -39.45, 32.47) |
| CIE-LCH | lch(41.32, 51.09, 140.55°) |
| OKLab | oklab(48.1% -0.1068 0.0761) |
| OKLCH | oklch(48.1% 0.131 144.5) |
| XYZ | xyz(6.8039, 12.0642, 3.9771) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.35
Darkgreen
#006400
ΔE00 5.53
Tree Green
#2A7E19
ΔE00 6.15
Jungle Green
#048243
ΔE00 7.22
Green
#008000
ΔE00 7.46
Deep Green
#02590F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217028 #702169
analogous
#417021 #217028 #21704F
triadic
#217028 #282170 #702821
tetradic
#217028 #214170 #702169 #704F21
square
#217028 #214170 #702169 #704F21
split-complementary
#217028 #4F2170 #702141
monochromatic
#071808 #134117 #217028 #2F9F39 #44C84F
Accessibility & contrast
On white
6.15
#217028 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#217028 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217028
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217028 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217028 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#096D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #217028; /* rgb */ color: rgb(33, 112, 40); /* oklch */ color: oklch(48.1% 0.131 144.5);
Tailwind
colors: {
custom: {
50: '#689a65',
500: '#217028',
950: '#000000',
},
}SCSS
$custom: #217028; $custom-light: #689a65; $custom-dark: #000000;
JSON
{
"hex": "#217028",
"rgb": {
"r": 33,
"g": 112,
"b": 40
},
"hsl": {
"h": 125.316,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.481,
"c": 0.13112,
"h": 144.5
},
"luminance": 0.12065
}Semantic roles & 50–950 ramp
primary
#217028
secondary
#A4499C
accent
#4AD1DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A