#218A1A#218A1A
#218A1A is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.172 H 142.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #218A1A |
|---|---|
| RGB | rgb(33, 138, 26) |
| HSL | hsl(116, 68%, 32%) |
| HSV | hsv(116, 81%, 54%) |
| CMYK | cmyk(76.1%, 0%, 81.2%, 45.9%) |
| CIE-LAB | lab(50.18, -50.01, 47.40) |
| CIE-LCH | lch(50.18, 68.91, 136.54°) |
| OKLab | oklab(55.42% -0.1361 0.1057) |
| OKLCH | oklch(55.42% 0.172 142.2) |
| XYZ | xyz(9.9015, 18.5737, 4.0403) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.88
Emerald Green
#028F1E
ΔE00 2.02
True Green
#089404
ΔE00 3.80
Green
#008000
ΔE00 3.99
Irish Green
#019529
ΔE00 4.09
Tree Green
#2A7E19
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218A1A #831A8A
analogous
#598A1A #218A1A #1A8A4B
triadic
#218A1A #1A218A #8A1A21
tetradic
#218A1A #1A598A #831A8A #8A4B1A
square
#218A1A #1A598A #831A8A #8A4B1A
split-complementary
#218A1A #4B1A8A #8A1A59
monochromatic
#082307 #155710 #218A1A #2DBD24 #4CDC43
Accessibility & contrast
On white
4.45
#218A1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#218A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218A1A
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218A1A | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #218a1a; /* rgb */ color: rgb(33, 138, 26); /* oklch */ color: oklch(55.4% 0.172 142.2);
Tailwind
colors: {
custom: {
50: '#6fad60',
500: '#218a1a',
950: '#000000',
},
}SCSS
$custom: #218a1a; $custom-light: #6fad60; $custom-dark: #000000;
JSON
{
"hex": "#218a1a",
"rgb": {
"r": 33,
"g": 138,
"b": 26
},
"hsl": {
"h": 116.25,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.5542,
"c": 0.17231,
"h": 142.2
},
"luminance": 0.18575
}Semantic roles & 50–950 ramp
primary
#218A1A
secondary
#B543BD
accent
#3DEBE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A