#218D2C#218D2C
#218D2C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.165 H 144.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #218D2C |
|---|---|
| RGB | rgb(33, 141, 44) |
| HSL | hsl(126, 62%, 34%) |
| HSV | hsv(126, 77%, 55%) |
| CMYK | cmyk(76.6%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(51.33, -49.49, 41.72) |
| CIE-LCH | lch(51.33, 64.73, 139.87°) |
| OKLab | oklab(56.41% -0.1338 0.0962) |
| OKLCH | oklch(56.41% 0.165 144.3) |
| XYZ | xyz(10.6060, 19.5537, 5.5977) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.38
Emerald Green
#028F1E
ΔE00 1.88
Kelley Green
#009337
ΔE00 2.70
Irish Green
#019529
ΔE00 2.88
True Green
#089404
ΔE00 4.31
Tree Green
#2A7E19
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218D2C #8D2182
analogous
#4C8D21 #218D2C #218D62
triadic
#218D2C #2C218D #8D2C21
tetradic
#218D2C #214C8D #8D2182 #8D6221
square
#218D2C #214C8D #8D2182 #8D6221
split-complementary
#218D2C #62218D #8D214C
monochromatic
#0A2A0D #155B1D #218D2C #2DBF3B #52D65F
Accessibility & contrast
On white
4.28
#218D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#218D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218D2C
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218D2C | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #218d2c; /* rgb */ color: rgb(33, 141, 44); /* oklch */ color: oklch(56.4% 0.165 144.3);
Tailwind
colors: {
custom: {
50: '#6faf6a',
500: '#218d2c',
950: '#000000',
},
}SCSS
$custom: #218d2c; $custom-light: #6faf6a; $custom-dark: #000000;
JSON
{
"hex": "#218d2c",
"rgb": {
"r": 33,
"g": 141,
"b": 44
},
"hsl": {
"h": 126.111,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.5641,
"c": 0.16481,
"h": 144.3
},
"luminance": 0.19555
}Semantic roles & 50–950 ramp
primary
#218D2C
secondary
#BA50AF
accent
#43D5E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A