#218E26#218E26
#218E26 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.170 H 143.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #218E26 |
|---|---|
| RGB | rgb(33, 142, 38) |
| HSL | hsl(123, 62%, 34%) |
| HSV | hsv(123, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 73.2%, 44.3%) |
| CIE-LAB | lab(51.62, -50.42, 44.51) |
| CIE-LCH | lch(51.62, 67.26, 138.56°) |
| OKLab | oklab(56.64% -0.1366 0.1013) |
| OKLCH | oklch(56.64% 0.17 143.4) |
| XYZ | xyz(10.6494, 19.8080, 5.0954) |
| Luminance | 0.1981 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.10
Emerald Green
#028F1E
ΔE00 1.21
Irish Green
#019529
ΔE00 2.51
Kelley Green
#009337
ΔE00 3.08
True Green
#089404
ΔE00 3.40
Green
#008000
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E26 #8E2189
analogous
#538E21 #218E26 #218E5D
triadic
#218E26 #26218E #8E2621
tetradic
#218E26 #21538E #8E2189 #8E5D21
square
#218E26 #21538E #8E2189 #8E5D21
split-complementary
#218E26 #5D218E #8E2153
monochromatic
#0A2B0B #155C19 #218E26 #2DC033 #52D759
Accessibility & contrast
On white
4.23
#218E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#218E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E26
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E26 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e26; /* rgb */ color: rgb(33, 142, 38); /* oklch */ color: oklch(56.6% 0.170 143.4);
Tailwind
colors: {
custom: {
50: '#70b067',
500: '#218e26',
950: '#000000',
},
}SCSS
$custom: #218e26; $custom-light: #70b067; $custom-dark: #000000;
JSON
{
"hex": "#218e26",
"rgb": {
"r": 33,
"g": 142,
"b": 38
},
"hsl": {
"h": 122.752,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56636,
"c": 0.17009,
"h": 143.4
},
"luminance": 0.19809
}Semantic roles & 50–950 ramp
primary
#218E26
secondary
#BA50B6
accent
#42DEE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A