#218C1F#218C1F
#218C1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.172 H 142.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #218C1F |
|---|---|
| RGB | rgb(33, 140, 31) |
| HSL | hsl(119, 64%, 34%) |
| HSV | hsv(119, 78%, 55%) |
| CMYK | cmyk(76.4%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.89, -50.33, 46.41) |
| CIE-LCH | lch(50.89, 68.46, 137.32°) |
| OKLab | oklab(56.02% -0.1367 0.1043) |
| OKLCH | oklch(56.02% 0.172 142.7) |
| XYZ | xyz(10.2520, 19.1773, 4.4573) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.52
Emerald Green
#028F1E
ΔE00 1.41
Irish Green
#019529
ΔE00 3.31
True Green
#089404
ΔE00 3.41
Kelley Green
#009337
ΔE00 4.02
Green
#008000
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218C1F #8A1F8C
analogous
#578C1F #218C1F #1F8C53
triadic
#218C1F #1F218C #8C1F21
tetradic
#218C1F #1F578C #8A1F8C #8C531F
square
#218C1F #1F578C #8A1F8C #8C531F
split-complementary
#218C1F #531F8C #8C1F57
monochromatic
#092809 #155A14 #218C1F #2DBE2A #50D84E
Accessibility & contrast
On white
4.34
#218C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#218C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218C1F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218C1F | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #218c1f; /* rgb */ color: rgb(33, 140, 31); /* oklch */ color: oklch(56.0% 0.172 142.7);
Tailwind
colors: {
custom: {
50: '#6faf63',
500: '#218c1f',
950: '#000000',
},
}SCSS
$custom: #218c1f; $custom-light: #6faf63; $custom-dark: #000000;
JSON
{
"hex": "#218c1f",
"rgb": {
"r": 33,
"g": 140,
"b": 31
},
"hsl": {
"h": 118.899,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56019,
"c": 0.17196,
"h": 142.7
},
"luminance": 0.19178
}Semantic roles & 50–950 ramp
primary
#218C1F
secondary
#B94CBB
accent
#41E7E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A