#218E2F#218E2F
#218E2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.164 H 144.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #218E2F |
|---|---|
| RGB | rgb(33, 142, 47) |
| HSL | hsl(128, 62%, 34%) |
| HSV | hsv(128, 77%, 56%) |
| CMYK | cmyk(76.8%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.69, -49.51, 40.80) |
| CIE-LCH | lch(51.69, 64.16, 140.51°) |
| OKLab | oklab(56.72% -0.1337 0.0946) |
| OKLCH | oklch(56.72% 0.164 144.7) |
| XYZ | xyz(10.8126, 19.8733, 5.9549) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.87
Emerald Green
#028F1E
ΔE00 2.10
Kelley Green
#009337
ΔE00 2.25
Irish Green
#019529
ΔE00 2.67
True Green
#089404
ΔE00 4.44
Fern Green
#548D44
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218E2F #8E2180
analogous
#4A8E21 #218E2F #218E66
triadic
#218E2F #2F218E #8E2F21
tetradic
#218E2F #214A8E #8E2180 #8E6621
square
#218E2F #214A8E #8E2180 #8E6621
split-complementary
#218E2F #66218E #8E214A
monochromatic
#0A2B0E #155C1F #218E2F #2DC03F #52D763
Accessibility & contrast
On white
4.22
#218E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#218E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218E2F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218E2F | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #218e2f; /* rgb */ color: rgb(33, 142, 47); /* oklch */ color: oklch(56.7% 0.164 144.7);
Tailwind
colors: {
custom: {
50: '#6fb06c',
500: '#218e2f',
950: '#000000',
},
}SCSS
$custom: #218e2f; $custom-light: #6fb06c; $custom-dark: #000000;
JSON
{
"hex": "#218e2f",
"rgb": {
"r": 33,
"g": 142,
"b": 47
},
"hsl": {
"h": 127.706,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.56722,
"c": 0.16382,
"h": 144.7
},
"luminance": 0.19875
}Semantic roles & 50–950 ramp
primary
#218E2F
secondary
#BA50AD
accent
#42D0E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A