#217F1D#217F1D
#217F1D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.158 H 142.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #217F1D |
|---|---|
| RGB | rgb(33, 127, 29) |
| HSL | hsl(118, 63%, 31%) |
| HSV | hsv(118, 77%, 50%) |
| CMYK | cmyk(74%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(46.43, -46.05, 42.71) |
| CIE-LCH | lch(46.43, 62.81, 137.16°) |
| OKLab | oklab(52.31% -0.1252 0.0963) |
| OKLCH | oklch(52.31% 0.158 142.4) |
| XYZ | xyz(8.4378, 15.5899, 3.7266) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.05
Green
#008000
ΔE00 2.32
Dark Grass Green
#388004
ΔE00 3.80
Forestgreen (CSS)
#228B22
ΔE00 4.28
Darkish Green
#287C37
ΔE00 4.48
Emerald Green
#028F1E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F1D #7B1D7F
analogous
#527F1D #217F1D #1D7F4A
triadic
#217F1D #1D217F #7F1D21
tetradic
#217F1D #1D527F #7B1D7F #7F4A1D
square
#217F1D #1D527F #7B1D7F #7F4A1D
split-complementary
#217F1D #4A1D7F #7F1D52
monochromatic
#071B06 #144D12 #217F1D #2EB128 #48D442
Accessibility & contrast
On white
5.10
#217F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#217F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F1D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F1D | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#027B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f1d; /* rgb */ color: rgb(33, 127, 29); /* oklch */ color: oklch(52.3% 0.158 142.4);
Tailwind
colors: {
custom: {
50: '#6ca560',
500: '#217f1d',
950: '#000000',
},
}SCSS
$custom: #217f1d; $custom-light: #6ca560; $custom-dark: #000000;
JSON
{
"hex": "#217f1d",
"rgb": {
"r": 33,
"g": 127,
"b": 29
},
"hsl": {
"h": 117.551,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.52309,
"c": 0.15798,
"h": 142.4
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#217F1D
secondary
#AE45B2
accent
#42E6DF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79