#218E2C#218E2C
#218E2C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.166 H 144.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #218E2C |
|---|---|
| RGB | rgb(33, 142, 44) |
| HSL | hsl(126, 62%, 34%) |
| HSV | hsv(126, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.67, -49.84, 42.08) |
| CIE-LCH | lch(51.67, 65.23, 139.82°) |
| OKLab | oklab(56.69% -0.1347 0.097) |
| OKLCH | oklch(56.69% 0.166 144.3) |
| XYZ | xyz(10.7541, 19.8499, 5.6470) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.53
Emerald Green
#028F1E
ΔE00 1.74
Kelley Green
#009337
ΔE00 2.50
Irish Green
#019529
ΔE00 2.55
True Green
#089404
ΔE00 4.06
Fern Green
#548D44
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E2C #8E2183
analogous
#4D8E21 #218E2C #218E63
triadic
#218E2C #2C218E #8E2C21
tetradic
#218E2C #214D8E #8E2183 #8E6321
square
#218E2C #214D8E #8E2183 #8E6321
split-complementary
#218E2C #63218E #8E214D
monochromatic
#0A2B0D #155C1D #218E2C #2DC03B #52D760
Accessibility & contrast
On white
4.23
#218E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#218E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E2C
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E2C | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e2c; /* rgb */ color: rgb(33, 142, 44); /* oklch */ color: oklch(56.7% 0.166 144.3);
Tailwind
colors: {
custom: {
50: '#6fb06a',
500: '#218e2c',
950: '#000000',
},
}SCSS
$custom: #218e2c; $custom-light: #6fb06a; $custom-dark: #000000;
JSON
{
"hex": "#218e2c",
"rgb": {
"r": 33,
"g": 142,
"b": 44
},
"hsl": {
"h": 126.055,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56691,
"c": 0.16601,
"h": 144.3
},
"luminance": 0.19851
}Semantic roles & 50–950 ramp
primary
#218E2C
secondary
#BA50B0
accent
#42D5E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A