#218A1F#218A1F
#218A1F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.170 H 142.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #218A1F |
|---|---|
| RGB | rgb(33, 138, 31) |
| HSL | hsl(119, 63%, 33%) |
| HSV | hsv(119, 78%, 54%) |
| CMYK | cmyk(76.1%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.21, -49.66, 45.73) |
| CIE-LCH | lch(50.21, 67.51, 137.36°) |
| OKLab | oklab(55.45% -0.1349 0.1029) |
| OKLCH | oklch(55.45% 0.17 142.7) |
| XYZ | xyz(9.9624, 18.5981, 4.3608) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.45
Emerald Green
#028F1E
ΔE00 1.94
Irish Green
#019529
ΔE00 3.93
True Green
#089404
ΔE00 4.05
Green
#008000
ΔE00 4.14
Tree Green
#2A7E19
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218A1F #881F8A
analogous
#568A1F #218A1F #1F8A53
triadic
#218A1F #1F218A #8A1F21
tetradic
#218A1F #1F568A #881F8A #8A531F
square
#218A1F #1F568A #881F8A #8A531F
split-complementary
#218A1F #531F8A #8A1F56
monochromatic
#092609 #155814 #218A1F #2DBC2A #4FD74C
Accessibility & contrast
On white
4.45
#218A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#218A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218A1F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218A1F | 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)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #218a1f; /* rgb */ color: rgb(33, 138, 31); /* oklch */ color: oklch(55.5% 0.170 142.7);
Tailwind
colors: {
custom: {
50: '#6fad63',
500: '#218a1f',
950: '#000000',
},
}SCSS
$custom: #218a1f; $custom-light: #6fad63; $custom-dark: #000000;
JSON
{
"hex": "#218a1f",
"rgb": {
"r": 33,
"g": 138,
"b": 31
},
"hsl": {
"h": 118.879,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55453,
"c": 0.16966,
"h": 142.7
},
"luminance": 0.18599
}Semantic roles & 50–950 ramp
primary
#218A1F
secondary
#B84BBA
accent
#41E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A