#217F1E#217F1E
#217F1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.157 H 142.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #217F1E |
|---|---|
| RGB | rgb(33, 127, 30) |
| HSL | hsl(118, 62%, 31%) |
| HSV | hsv(118, 76%, 50%) |
| CMYK | cmyk(74%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(46.44, -45.97, 42.34) |
| CIE-LCH | lch(46.44, 62.49, 137.36°) |
| OKLab | oklab(52.32% -0.125 0.0957) |
| OKLCH | oklch(52.32% 0.157 142.6) |
| XYZ | xyz(8.4504, 15.5949, 3.7928) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.14
Green
#008000
ΔE00 2.43
Dark Grass Green
#388004
ΔE00 3.90
Forestgreen (CSS)
#228B22
ΔE00 4.29
Darkish Green
#287C37
ΔE00 4.36
Emerald Green
#028F1E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217F1E #7C1E7F
analogous
#517F1E #217F1E #1E7F4B
triadic
#217F1E #1E217F #7F1E21
tetradic
#217F1E #1E517F #7C1E7F #7F4B1E
square
#217F1E #1E517F #7C1E7F #7F4B1E
split-complementary
#217F1E #4B1E7F #7F1E51
monochromatic
#071C07 #144D12 #217F1E #2EB12A #49D344
Accessibility & contrast
On white
5.10
#217F1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#217F1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217F1E
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217F1E | 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)
#82730B
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#027B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #217f1e; /* rgb */ color: rgb(33, 127, 30); /* oklch */ color: oklch(52.3% 0.157 142.6);
Tailwind
colors: {
custom: {
50: '#6ca561',
500: '#217f1e',
950: '#000000',
},
}SCSS
$custom: #217f1e; $custom-light: #6ca561; $custom-dark: #000000;
JSON
{
"hex": "#217f1e",
"rgb": {
"r": 33,
"g": 127,
"b": 30
},
"hsl": {
"h": 118.144,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.52316,
"c": 0.15738,
"h": 142.6
},
"luminance": 0.15596
}Semantic roles & 50–950 ramp
primary
#217F1E
secondary
#AF47B2
accent
#43E5E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79