#217E1D#217E1D
#217E1D is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.157 H 142.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #217E1D |
|---|---|
| RGB | rgb(33, 126, 29) |
| HSL | hsl(118, 63%, 30%) |
| HSV | hsv(118, 77%, 49%) |
| CMYK | cmyk(73.8%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(46.09, -45.70, 42.36) |
| CIE-LCH | lch(46.09, 62.32, 137.17°) |
| OKLab | oklab(52.02% -0.1243 0.0956) |
| OKLCH | oklch(52.02% 0.157 142.4) |
| XYZ | xyz(8.3093, 15.3328, 3.6838) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.06
Green
#008000
ΔE00 2.44
Dark Grass Green
#388004
ΔE00 3.92
Darkish Green
#287C37
ΔE00 4.34
Forestgreen (CSS)
#228B22
ΔE00 4.63
Emerald Green
#028F1E
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217E1D #7A1D7E
analogous
#517E1D #217E1D #1D7E49
triadic
#217E1D #1D217E #7E1D21
tetradic
#217E1D #1D517E #7A1D7E #7E491D
square
#217E1D #1D517E #7A1D7E #7E491D
split-complementary
#217E1D #491D7E #7E1D51
monochromatic
#071B06 #144C12 #217E1D #2EB028 #48D342
Accessibility & contrast
On white
5.16
#217E1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#217E1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217E1D
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217E1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217E1D | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#037A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #217e1d; /* rgb */ color: rgb(33, 126, 29); /* oklch */ color: oklch(52.0% 0.157 142.4);
Tailwind
colors: {
custom: {
50: '#6ca460',
500: '#217e1d',
950: '#000000',
},
}SCSS
$custom: #217e1d; $custom-light: #6ca460; $custom-dark: #000000;
JSON
{
"hex": "#217e1d",
"rgb": {
"r": 33,
"g": 126,
"b": 29
},
"hsl": {
"h": 117.526,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.52022,
"c": 0.15679,
"h": 142.4
},
"luminance": 0.15334
}Semantic roles & 50–950 ramp
primary
#217E1D
secondary
#AD45B1
accent
#42E6DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79