#217C1F#217C1F
#217C1F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 142.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #217C1F |
|---|---|
| RGB | rgb(33, 124, 31) |
| HSL | hsl(119, 60%, 30%) |
| HSV | hsv(119, 75%, 49%) |
| CMYK | cmyk(73.4%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(45.41, -44.83, 40.90) |
| CIE-LCH | lch(45.41, 60.69, 137.62°) |
| OKLab | oklab(51.47% -0.1218 0.0928) |
| OKLCH | oklch(51.47% 0.153 142.7) |
| XYZ | xyz(8.0817, 14.8367, 3.7339) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.57
Green
#008000
ΔE00 3.02
Darkish Green
#287C37
ΔE00 3.89
Dark Grass Green
#388004
ΔE00 4.44
Forestgreen (CSS)
#228B22
ΔE00 5.37
Jungle Green
#048243
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217C1F #7A1F7C
analogous
#4F7C1F #217C1F #1F7C4C
triadic
#217C1F #1F217C #7C1F21
tetradic
#217C1F #1F4F7C #7A1F7C #7C4C1F
square
#217C1F #1F4F7C #7A1F7C #7C4C1F
split-complementary
#217C1F #4C1F7C #7C1F4F
monochromatic
#071A07 #144B13 #217C1F #2EAD2B #48D045
Accessibility & contrast
On white
5.29
#217C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#217C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217C1F
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217C1F | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#746929
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #217c1f; /* rgb */ color: rgb(33, 124, 31); /* oklch */ color: oklch(51.5% 0.153 142.7);
Tailwind
colors: {
custom: {
50: '#6ba361',
500: '#217c1f',
950: '#000000',
},
}SCSS
$custom: #217c1f; $custom-light: #6ba361; $custom-dark: #000000;
JSON
{
"hex": "#217c1f",
"rgb": {
"r": 33,
"g": 124,
"b": 31
},
"hsl": {
"h": 118.71,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.51465,
"c": 0.15316,
"h": 142.7
},
"luminance": 0.14838
}Semantic roles & 50–950 ramp
primary
#217C1F
secondary
#AD48AF
accent
#45E3E0
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79