#218E2D#218E2D
#218E2D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.165 H 144.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #218E2D |
|---|---|
| RGB | rgb(33, 142, 45) |
| HSL | hsl(127, 62%, 34%) |
| HSV | hsv(127, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 68.3%, 44.3%) |
| CIE-LAB | lab(51.68, -49.73, 41.66) |
| CIE-LCH | lch(51.68, 64.87, 140.05°) |
| OKLab | oklab(56.7% -0.1344 0.0962) |
| OKLCH | oklch(56.7% 0.165 144.4) |
| XYZ | xyz(10.7731, 19.8575, 5.7472) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.64
Emerald Green
#028F1E
ΔE00 1.85
Kelley Green
#009337
ΔE00 2.42
Irish Green
#019529
ΔE00 2.58
True Green
#089404
ΔE00 4.18
Fern Green
#548D44
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E2D #8E2182
analogous
#4B8E21 #218E2D #218E64
triadic
#218E2D #2D218E #8E2D21
tetradic
#218E2D #214B8E #8E2182 #8E6421
square
#218E2D #214B8E #8E2182 #8E6421
split-complementary
#218E2D #64218E #8E214B
monochromatic
#0A2B0E #155C1D #218E2D #2DC03D #52D761
Accessibility & contrast
On white
4.22
#218E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#218E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E2D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E2D | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 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)
#918020
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e2d; /* rgb */ color: rgb(33, 142, 45); /* oklch */ color: oklch(56.7% 0.165 144.4);
Tailwind
colors: {
custom: {
50: '#6fb06b',
500: '#218e2d',
950: '#000000',
},
}SCSS
$custom: #218e2d; $custom-light: #6fb06b; $custom-dark: #000000;
JSON
{
"hex": "#218e2d",
"rgb": {
"r": 33,
"g": 142,
"b": 45
},
"hsl": {
"h": 126.606,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56701,
"c": 0.16529,
"h": 144.4
},
"luminance": 0.19859
}Semantic roles & 50–950 ramp
primary
#218E2D
secondary
#BA50AF
accent
#42D3E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A