#218518#218518
#218518 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.168 H 142.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #218518 |
|---|---|
| RGB | rgb(33, 133, 24) |
| HSL | hsl(115, 69%, 31%) |
| HSV | hsv(115, 82%, 52%) |
| CMYK | cmyk(75.2%, 0%, 82%, 47.8%) |
| CIE-LAB | lab(48.47, -48.47, 46.41) |
| CIE-LCH | lch(48.47, 67.10, 136.25°) |
| OKLab | oklab(53.99% -0.132 0.1033) |
| OKLCH | oklch(53.99% 0.168 142) |
| XYZ | xyz(9.1791, 17.1633, 3.6931) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.26
Green
#008000
ΔE00 2.48
Tree Green
#2A7E19
ΔE00 2.53
Dark Grass Green
#388004
ΔE00 3.42
Emerald Green
#028F1E
ΔE00 3.61
True Green
#089404
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218518 #7C1885
analogous
#578518 #218518 #188545
triadic
#218518 #182185 #851821
tetradic
#218518 #185785 #7C1885 #854518
square
#218518 #185785 #7C1885 #854518
split-complementary
#218518 #451885 #851857
monochromatic
#071D05 #14510F #218518 #2EB921 #49DC3C
Accessibility & contrast
On white
4.74
#218518 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#218518 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #218518
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##218518 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #218518; /* rgb */ color: rgb(33, 133, 24); /* oklch */ color: oklch(54.0% 0.168 142.0);
Tailwind
colors: {
custom: {
50: '#6eaa5f',
500: '#218518',
950: '#000000',
},
}SCSS
$custom: #218518; $custom-light: #6eaa5f; $custom-dark: #000000;
JSON
{
"hex": "#218518",
"rgb": {
"r": 33,
"g": 133,
"b": 24
},
"hsl": {
"h": 115.046,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.53988,
"c": 0.16763,
"h": 142
},
"luminance": 0.17164
}Semantic roles & 50–950 ramp
primary
#218518
secondary
#AF40B9
accent
#3CECDE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79