#217618#217618
#217618 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.150 H 141.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #217618 |
|---|---|
| RGB | rgb(33, 118, 24) |
| HSL | hsl(114, 66%, 28%) |
| HSV | hsv(114, 80%, 46%) |
| CMYK | cmyk(72%, 0%, 79.7%, 53.7%) |
| CIE-LAB | lab(43.28, -43.27, 41.42) |
| CIE-LCH | lch(43.28, 59.90, 136.25°) |
| OKLab | oklab(49.68% -0.118 0.0929) |
| OKLCH | oklch(49.68% 0.15 141.8) |
| XYZ | xyz(7.2701, 13.3454, 3.0568) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.97
Green
#008000
ΔE00 4.10
Darkish Green
#287C37
ΔE00 4.80
Dark Grass Green
#388004
ΔE00 5.21
Darkgreen
#006400
ΔE00 6.20
Forestgreen (CSS)
#228B22
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#217618 #6D1876
analogous
#507618 #217618 #18763E
triadic
#217618 #182176 #761821
tetradic
#217618 #185076 #6D1876 #763E18
square
#217618 #185076 #6D1876 #763E18
split-complementary
#217618 #3E1876 #761850
monochromatic
#071905 #13430E #217618 #2FA922 #42D533
Accessibility & contrast
On white
5.72
#217618 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#217618 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #217618
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##217618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##217618 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#0C7264
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #217618; /* rgb */ color: rgb(33, 118, 24); /* oklch */ color: oklch(49.7% 0.150 141.8);
Tailwind
colors: {
custom: {
50: '#6a9e5d',
500: '#217618',
950: '#000000',
},
}SCSS
$custom: #217618; $custom-light: #6a9e5d; $custom-dark: #000000;
JSON
{
"hex": "#217618",
"rgb": {
"r": 33,
"g": 118,
"b": 24
},
"hsl": {
"h": 114.255,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.49682,
"c": 0.15016,
"h": 141.8
},
"luminance": 0.13346
}Semantic roles & 50–950 ramp
primary
#217618
secondary
#A13FAB
accent
#3FE9D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79