#168918#168918
#168918 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.175 H 142.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #168918 |
|---|---|
| RGB | rgb(22, 137, 24) |
| HSL | hsl(121, 72%, 31%) |
| HSV | hsv(121, 84%, 54%) |
| CMYK | cmyk(83.9%, 0%, 82.5%, 46.3%) |
| CIE-LAB | lab(49.65, -51.41, 47.46) |
| CIE-LCH | lch(49.65, 69.97, 137.29°) |
| OKLab | oklab(54.92% -0.1395 0.1056) |
| OKLCH | oklch(54.92% 0.175 142.9) |
| XYZ | xyz(9.4408, 18.1267, 3.8652) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.22
Emerald Green
#028F1E
ΔE00 2.16
Green
#008000
ΔE00 3.47
Tree Green
#2A7E19
ΔE00 3.99
True Green
#089404
ΔE00 4.15
Irish Green
#019529
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#168918 #891687
analogous
#4D8916 #168918 #168951
triadic
#168918 #181689 #891816
tetradic
#168918 #164D89 #891687 #895116
square
#168918 #164D89 #891687 #895116
split-complementary
#168918 #511689 #89164D
monochromatic
#052006 #0E540F #168918 #1EBE21 #3ADF3D
Accessibility & contrast
On white
4.54
#168918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#168918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #168918
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##168918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##168918 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #168918; /* rgb */ color: rgb(22, 137, 24); /* oklch */ color: oklch(54.9% 0.175 142.9);
Tailwind
colors: {
custom: {
50: '#6cad5f',
500: '#168918',
950: '#000000',
},
}SCSS
$custom: #168918; $custom-light: #6cad5f; $custom-dark: #000000;
JSON
{
"hex": "#168918",
"rgb": {
"r": 22,
"g": 137,
"b": 24
},
"hsl": {
"h": 121.043,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.54919,
"c": 0.17492,
"h": 142.9
},
"luminance": 0.18128
}Semantic roles & 50–950 ramp
primary
#168918
secondary
#BD3EBB
accent
#39ECEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79