#218C2F#218C2F
#218C2F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.161 H 144.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #218C2F |
|---|---|
| RGB | rgb(33, 140, 47) |
| HSL | hsl(128, 62%, 34%) |
| HSV | hsv(128, 76%, 55%) |
| CMYK | cmyk(76.4%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.02, -48.82, 40.05) |
| CIE-LCH | lch(51.02, 63.15, 140.64°) |
| OKLab | oklab(56.16% -0.1319 0.093) |
| OKLCH | oklch(56.16% 0.161 144.8) |
| XYZ | xyz(10.5177, 19.2835, 5.8566) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 2.42
Kelley Green
#009337
ΔE00 2.73
Irish Green
#019529
ΔE00 3.35
True Green
#089404
ΔE00 4.93
Tree Green
#2A7E19
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218C2F #8C217E
analogous
#498C21 #218C2F #218C65
triadic
#218C2F #2F218C #8C2F21
tetradic
#218C2F #21498C #8C217E #8C6521
square
#218C2F #21498C #8C217E #8C6521
split-complementary
#218C2F #65218C #8C2149
monochromatic
#0A290E #155A1E #218C2F #2DBE40 #51D663
Accessibility & contrast
On white
4.32
#218C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#218C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218C2F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218C2F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7F24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #218c2f; /* rgb */ color: rgb(33, 140, 47); /* oklch */ color: oklch(56.2% 0.161 144.8);
Tailwind
colors: {
custom: {
50: '#6faf6c',
500: '#218c2f',
950: '#000000',
},
}SCSS
$custom: #218c2f; $custom-light: #6faf6c; $custom-dark: #000000;
JSON
{
"hex": "#218c2f",
"rgb": {
"r": 33,
"g": 140,
"b": 47
},
"hsl": {
"h": 127.85,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.56161,
"c": 0.16136,
"h": 144.8
},
"luminance": 0.19285
}Semantic roles & 50–950 ramp
primary
#218C2F
secondary
#B94FAC
accent
#43D0E5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A