#218A2C#218A2C
#218A2C is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.161 H 144.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #218A2C |
|---|---|
| RGB | rgb(33, 138, 44) |
| HSL | hsl(126, 61%, 34%) |
| HSV | hsv(126, 76%, 54%) |
| CMYK | cmyk(76.1%, 0%, 68.1%, 45.9%) |
| CIE-LAB | lab(50.31, -48.46, 40.61) |
| CIE-LCH | lch(50.31, 63.23, 140.03°) |
| OKLab | oklab(55.57% -0.131 0.0939) |
| OKLCH | oklch(55.57% 0.161 144.4) |
| XYZ | xyz(10.1696, 18.6810, 5.4522) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.48
Emerald Green
#028F1E
ΔE00 2.57
Kelley Green
#009337
ΔE00 3.45
Irish Green
#019529
ΔE00 3.93
Tree Green
#2A7E19
ΔE00 4.66
Green
#008000
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218A2C #8A217F
analogous
#4A8A21 #218A2C #218A60
triadic
#218A2C #2C218A #8A2C21
tetradic
#218A2C #214A8A #8A217F #8A6021
square
#218A2C #214A8A #8A217F #8A6021
split-complementary
#218A2C #60218A #8A214A
monochromatic
#09270D #15591C #218A2C #2DBB3C #50D55E
Accessibility & contrast
On white
4.43
#218A2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#218A2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218A2C
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218A2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218A2C | 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)
#8D7D20
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #218a2c; /* rgb */ color: rgb(33, 138, 44); /* oklch */ color: oklch(55.6% 0.161 144.4);
Tailwind
colors: {
custom: {
50: '#6ead6a',
500: '#218a2c',
950: '#000000',
},
}SCSS
$custom: #218a2c; $custom-light: #6ead6a; $custom-dark: #000000;
JSON
{
"hex": "#218a2c",
"rgb": {
"r": 33,
"g": 138,
"b": 44
},
"hsl": {
"h": 126.286,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.55566,
"c": 0.16117,
"h": 144.4
},
"luminance": 0.18682
}Semantic roles & 50–950 ramp
primary
#218A2C
secondary
#B94EAD
accent
#43D4E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A