#218A2F#218A2F
#218A2F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.159 H 144.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #218A2F |
|---|---|
| RGB | rgb(33, 138, 47) |
| HSL | hsl(128, 61%, 34%) |
| HSV | hsv(128, 76%, 54%) |
| CMYK | cmyk(76.1%, 0%, 65.9%, 45.9%) |
| CIE-LAB | lab(50.34, -48.12, 39.30) |
| CIE-LCH | lch(50.34, 62.13, 140.76°) |
| OKLab | oklab(55.6% -0.13 0.0914) |
| OKLCH | oklch(55.6% 0.159 144.9) |
| XYZ | xyz(10.2281, 18.7044, 5.7600) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.92
Emerald Green
#028F1E
ΔE00 2.89
Kelley Green
#009337
ΔE00 3.31
Irish Green
#019529
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 4.86
Green
#008000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218A2F #8A217C
analogous
#478A21 #218A2F #218A63
triadic
#218A2F #2F218A #8A2F21
tetradic
#218A2F #21478A #8A217C #8A6321
square
#218A2F #21478A #8A217C #8A6321
split-complementary
#218A2F #63218A #8A2147
monochromatic
#09270D #15591E #218A2F #2DBB40 #50D562
Accessibility & contrast
On white
4.43
#218A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#218A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218A2F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218A2F | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #218a2f; /* rgb */ color: rgb(33, 138, 47); /* oklch */ color: oklch(55.6% 0.159 144.9);
Tailwind
colors: {
custom: {
50: '#6ead6c',
500: '#218a2f',
950: '#000000',
},
}SCSS
$custom: #218a2f; $custom-light: #6ead6c; $custom-dark: #000000;
JSON
{
"hex": "#218a2f",
"rgb": {
"r": 33,
"g": 138,
"b": 47
},
"hsl": {
"h": 128,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.55598,
"c": 0.1589,
"h": 144.9
},
"luminance": 0.18706
}Semantic roles & 50–950 ramp
primary
#218A2F
secondary
#B94EAA
accent
#43CFE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A