#218B1F#218B1F
#218B1F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.171 H 142.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #218B1F |
|---|---|
| RGB | rgb(33, 139, 31) |
| HSL | hsl(119, 64%, 33%) |
| HSV | hsv(119, 78%, 55%) |
| CMYK | cmyk(76.3%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.55, -49.99, 46.07) |
| CIE-LCH | lch(50.55, 67.98, 137.34°) |
| OKLab | oklab(55.74% -0.1358 0.1036) |
| OKLCH | oklch(55.74% 0.171 142.7) |
| XYZ | xyz(10.1065, 18.8863, 4.4089) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.33
Emerald Green
#028F1E
ΔE00 1.66
Irish Green
#019529
ΔE00 3.61
True Green
#089404
ΔE00 3.72
Kelley Green
#009337
ΔE00 4.19
Green
#008000
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218B1F #891F8B
analogous
#578B1F #218B1F #1F8B53
triadic
#218B1F #1F218B #8B1F21
tetradic
#218B1F #1F578B #891F8B #8B531F
square
#218B1F #1F578B #891F8B #8B531F
split-complementary
#218B1F #531F8B #8B1F57
monochromatic
#092709 #155914 #218B1F #2DBD2A #50D74D
Accessibility & contrast
On white
4.40
#218B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#218B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218B1F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218B1F | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #218b1f; /* rgb */ color: rgb(33, 139, 31); /* oklch */ color: oklch(55.7% 0.171 142.7);
Tailwind
colors: {
custom: {
50: '#6fae63',
500: '#218b1f',
950: '#000000',
},
}SCSS
$custom: #218b1f; $custom-light: #6fae63; $custom-dark: #000000;
JSON
{
"hex": "#218b1f",
"rgb": {
"r": 33,
"g": 139,
"b": 31
},
"hsl": {
"h": 118.889,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55736,
"c": 0.17081,
"h": 142.7
},
"luminance": 0.18887
}Semantic roles & 50–950 ramp
primary
#218B1F
secondary
#B84CBA
accent
#41E7E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A