#218A1C#218A1C
#218A1C is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.171 H 142.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #218A1C |
|---|---|
| RGB | rgb(33, 138, 28) |
| HSL | hsl(117, 66%, 33%) |
| HSV | hsv(117, 80%, 54%) |
| CMYK | cmyk(76.1%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.20, -49.88, 46.76) |
| CIE-LCH | lch(50.20, 68.37, 136.85°) |
| OKLab | oklab(55.43% -0.1356 0.1046) |
| OKLCH | oklch(55.43% 0.171 142.4) |
| XYZ | xyz(9.9247, 18.5830, 4.1622) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.70
Emerald Green
#028F1E
ΔE00 1.97
True Green
#089404
ΔE00 3.89
Irish Green
#019529
ΔE00 4.02
Green
#008000
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218A1C #851C8A
analogous
#588A1C #218A1C #1C8A4E
triadic
#218A1C #1C218A #8A1C21
tetradic
#218A1C #1C588A #851C8A #8A4E1C
square
#218A1C #1C588A #851C8A #8A4E1C
split-complementary
#218A1C #4E1C8A #8A1C58
monochromatic
#092407 #155712 #218A1C #2DBD26 #4DDA47
Accessibility & contrast
On white
4.45
#218A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#218A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218A1C
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218A1C | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #218a1c; /* rgb */ color: rgb(33, 138, 28); /* oklch */ color: oklch(55.4% 0.171 142.4);
Tailwind
colors: {
custom: {
50: '#6fad61',
500: '#218a1c',
950: '#000000',
},
}SCSS
$custom: #218a1c; $custom-light: #6fad61; $custom-dark: #000000;
JSON
{
"hex": "#218a1c",
"rgb": {
"r": 33,
"g": 138,
"b": 28
},
"hsl": {
"h": 117.273,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.55433,
"c": 0.1713,
"h": 142.4
},
"luminance": 0.18584
}Semantic roles & 50–950 ramp
primary
#218A1C
secondary
#B646BB
accent
#3FE9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A