#167818#167818
#167818 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.156 H 143.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #167818 |
|---|---|
| RGB | rgb(22, 120, 24) |
| HSL | hsl(121, 69%, 28%) |
| HSV | hsv(121, 82%, 47%) |
| CMYK | cmyk(81.7%, 0%, 80%, 52.9%) |
| CIE-LAB | lab(43.75, -45.88, 41.81) |
| CIE-LCH | lch(43.75, 62.07, 137.66°) |
| OKLab | oklab(50.01% -0.1244 0.0938) |
| OKLCH | oklch(50.01% 0.156 143) |
| XYZ | xyz(7.2118, 13.6686, 3.1222) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.72
Green
#008000
ΔE00 3.48
Darkish Green
#287C37
ΔE00 4.59
Dark Grass Green
#388004
ΔE00 5.24
Darkgreen
#006400
ΔE00 6.70
Forestgreen (CSS)
#228B22
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167818 #781676
analogous
#457816 #167818 #167849
triadic
#167818 #181678 #781816
tetradic
#167818 #164578 #781676 #784916
square
#167818 #164578 #781676 #784916
split-complementary
#167818 #491678 #781645
monochromatic
#051A05 #0D440E #167818 #1FAC22 #2FD933
Accessibility & contrast
On white
5.62
#167818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#167818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167818
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167818 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#706523
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #167818; /* rgb */ color: rgb(22, 120, 24); /* oklch */ color: oklch(50.0% 0.156 143.0);
Tailwind
colors: {
custom: {
50: '#67a05d',
500: '#167818',
950: '#000000',
},
}SCSS
$custom: #167818; $custom-light: #67a05d; $custom-dark: #000000;
JSON
{
"hex": "#167818",
"rgb": {
"r": 22,
"g": 120,
"b": 24
},
"hsl": {
"h": 121.224,
"s": 69.014,
"l": 27.843
},
"oklch": {
"l": 0.50012,
"c": 0.15583,
"h": 143
},
"luminance": 0.13669
}Semantic roles & 50–950 ramp
primary
#167818
secondary
#AD3CAB
accent
#3CE8EC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79