#168F18#168F18
#168F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.181 H 142.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #168F18 |
|---|---|
| RGB | rgb(22, 143, 24) |
| HSL | hsl(121, 73%, 32%) |
| HSV | hsv(121, 85%, 56%) |
| CMYK | cmyk(84.6%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(51.70, -53.30, 49.38) |
| CIE-LCH | lch(51.70, 72.66, 137.19°) |
| OKLab | oklab(56.63% -0.1446 0.1096) |
| OKLCH | oklch(56.63% 0.181 142.8) |
| XYZ | xyz(10.3175, 19.8802, 4.1575) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.97
Forestgreen (CSS)
#228B22
ΔE00 1.79
True Green
#089404
ΔE00 2.15
Irish Green
#019529
ΔE00 2.64
Kelley Green
#009337
ΔE00 4.04
Green
#008000
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#168F18 #8F168D
analogous
#508F16 #168F18 #168F55
triadic
#168F18 #18168F #8F1816
tetradic
#168F18 #16508F #8F168D #8F5516
square
#168F18 #16508F #8F168D #8F5516
split-complementary
#168F18 #55168F #8F1650
monochromatic
#062506 #0E5A0F #168F18 #1EC421 #3EE141
Accessibility & contrast
On white
4.22
#168F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#168F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #168F18
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##168F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##168F18 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #168f18; /* rgb */ color: rgb(22, 143, 24); /* oklch */ color: oklch(56.6% 0.181 142.8);
Tailwind
colors: {
custom: {
50: '#6db160',
500: '#168f18',
950: '#000000',
},
}SCSS
$custom: #168f18; $custom-light: #6db160; $custom-dark: #000000;
JSON
{
"hex": "#168f18",
"rgb": {
"r": 22,
"g": 143,
"b": 24
},
"hsl": {
"h": 120.992,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.56628,
"c": 0.18143,
"h": 142.8
},
"luminance": 0.19881
}Semantic roles & 50–950 ramp
primary
#168F18
secondary
#C13FBF
accent
#38EDF0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A