#218F1B#218F1B
#218F1B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.177 H 142.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #218F1B |
|---|---|
| RGB | rgb(33, 143, 27) |
| HSL | hsl(117, 68%, 33%) |
| HSV | hsv(117, 81%, 56%) |
| CMYK | cmyk(76.9%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(51.89, -51.60, 48.71) |
| CIE-LCH | lch(51.89, 70.96, 136.65°) |
| OKLab | oklab(56.84% -0.1403 0.1085) |
| OKLCH | oklch(56.84% 0.177 142.3) |
| XYZ | xyz(10.6469, 20.0462, 4.3449) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.30
Forestgreen (CSS)
#228B22
ΔE00 1.71
True Green
#089404
ΔE00 2.27
Irish Green
#019529
ΔE00 2.70
Kelley Green
#009337
ΔE00 4.06
Grass Green
#3F9B0B
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#218F1B #891B8F
analogous
#5B8F1B #218F1B #1B8F4F
triadic
#218F1B #1B218F #8F1B21
tetradic
#218F1B #1B5B8F #891B8F #8F4F1B
square
#218F1B #1B5B8F #891B8F #8F4F1B
split-complementary
#218F1B #4F1B8F #8F1B5B
monochromatic
#092808 #155C11 #218F1B #2DC225 #50DC48
Accessibility & contrast
On white
4.19
#218F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#218F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #218F1B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##218F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##218F1B | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #218f1b; /* rgb */ color: rgb(33, 143, 27); /* oklch */ color: oklch(56.8% 0.177 142.3);
Tailwind
colors: {
custom: {
50: '#70b162',
500: '#218f1b',
950: '#000000',
},
}SCSS
$custom: #218f1b; $custom-light: #70b162; $custom-dark: #000000;
JSON
{
"hex": "#218f1b",
"rgb": {
"r": 33,
"g": 143,
"b": 27
},
"hsl": {
"h": 116.897,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.56839,
"c": 0.17742,
"h": 142.3
},
"luminance": 0.20047
}Semantic roles & 50–950 ramp
primary
#218F1B
secondary
#B848BE
accent
#3DEBE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A