#218E2B#218E2B
#218E2B is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.167 H 144.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #218E2B |
|---|---|
| RGB | rgb(33, 142, 43) |
| HSL | hsl(126, 62%, 34%) |
| HSV | hsv(126, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(51.66, -49.94, 42.50) |
| CIE-LCH | lch(51.66, 65.58, 139.60°) |
| OKLab | oklab(56.68% -0.1351 0.0977) |
| OKLCH | oklch(56.68% 0.167 144.1) |
| XYZ | xyz(10.7355, 19.8425, 5.5492) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.43
Emerald Green
#028F1E
ΔE00 1.63
Irish Green
#019529
ΔE00 2.52
Kelley Green
#009337
ΔE00 2.60
True Green
#089404
ΔE00 3.94
Tree Green
#2A7E19
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E2B #8E2184
analogous
#4D8E21 #218E2B #218E62
triadic
#218E2B #2B218E #8E2B21
tetradic
#218E2B #214D8E #8E2184 #8E6221
square
#218E2B #214D8E #8E2184 #8E6221
split-complementary
#218E2B #62218E #8E214D
monochromatic
#0A2B0D #155C1C #218E2B #2DC03A #52D75F
Accessibility & contrast
On white
4.23
#218E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#218E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E2B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E2B | 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)
#91801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e2b; /* rgb */ color: rgb(33, 142, 43); /* oklch */ color: oklch(56.7% 0.167 144.1);
Tailwind
colors: {
custom: {
50: '#6fb06a',
500: '#218e2b',
950: '#000000',
},
}SCSS
$custom: #218e2b; $custom-light: #6fb06a; $custom-dark: #000000;
JSON
{
"hex": "#218e2b",
"rgb": {
"r": 33,
"g": 142,
"b": 43
},
"hsl": {
"h": 125.505,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56682,
"c": 0.16673,
"h": 144.1
},
"luminance": 0.19844
}Semantic roles & 50–950 ramp
primary
#218E2B
secondary
#BA50B1
accent
#42D6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A