#217E1A#217E1A
#217E1A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.159 H 142.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #217E1A |
|---|---|
| RGB | rgb(33, 126, 26) |
| HSL | hsl(116, 66%, 30%) |
| HSV | hsv(116, 79%, 49%) |
| CMYK | cmyk(73.8%, 0%, 79.4%, 50.6%) |
| CIE-LAB | lab(46.07, -45.94, 43.44) |
| CIE-LCH | lch(46.07, 63.22, 136.60°) |
| OKLab | oklab(52% -0.1251 0.0974) |
| OKLCH | oklch(52% 0.159 142.1) |
| XYZ | xyz(8.2740, 15.3187, 3.4978) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.83
Green
#008000
ΔE00 2.16
Dark Grass Green
#388004
ΔE00 3.63
Forestgreen (CSS)
#228B22
ΔE00 4.62
Darkish Green
#287C37
ΔE00 4.70
Emerald Green
#028F1E
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E1A #771A7E
analogous
#537E1A #217E1A #1A7E45
triadic
#217E1A #1A217E #7E1A21
tetradic
#217E1A #1A537E #771A7E #7E451A
square
#217E1A #1A537E #771A7E #7E451A
split-complementary
#217E1A #451A7E #7E1A53
monochromatic
#071905 #144B10 #217E1A #2EB124 #47D73C
Accessibility & contrast
On white
5.17
#217E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#217E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E1A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E1A | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#047A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217e1a; /* rgb */ color: rgb(33, 126, 26); /* oklch */ color: oklch(52.0% 0.159 142.1);
Tailwind
colors: {
custom: {
50: '#6ca45f',
500: '#217e1a',
950: '#000000',
},
}SCSS
$custom: #217e1a; $custom-light: #6ca45f; $custom-dark: #000000;
JSON
{
"hex": "#217e1a",
"rgb": {
"r": 33,
"g": 126,
"b": 26
},
"hsl": {
"h": 115.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.52,
"c": 0.15852,
"h": 142.1
},
"luminance": 0.1532
}Semantic roles & 50–950 ramp
primary
#217E1A
secondary
#AA42B2
accent
#3FE9DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79