#167E18#167E18
#167E18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.163 H 142.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #167E18 |
|---|---|
| RGB | rgb(22, 126, 24) |
| HSL | hsl(121, 70%, 29%) |
| HSV | hsv(121, 83%, 49%) |
| CMYK | cmyk(82.5%, 0%, 81%, 50.6%) |
| CIE-LAB | lab(45.85, -47.87, 43.84) |
| CIE-LCH | lch(45.85, 64.91, 137.52°) |
| OKLab | oklab(51.76% -0.1298 0.098) |
| OKLCH | oklch(51.76% 0.163 142.9) |
| XYZ | xyz(7.9561, 15.1573, 3.3703) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.45
Green
#008000
ΔE00 1.89
Dark Grass Green
#388004
ΔE00 4.09
Forestgreen (CSS)
#228B22
ΔE00 4.73
Darkish Green
#287C37
ΔE00 4.79
Emerald Green
#028F1E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167E18 #7E167C
analogous
#487E16 #167E18 #167E4C
triadic
#167E18 #18167E #7E1816
tetradic
#167E18 #16487E #7E167C #7E4C16
square
#167E18 #16487E #7E167C #7E4C16
split-complementary
#167E18 #4C167E #7E1648
monochromatic
#051A05 #0D4A0E #167E18 #1FB222 #33DB36
Accessibility & contrast
On white
5.21
#167E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#167E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167E18
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167E18 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167e18; /* rgb */ color: rgb(22, 126, 24); /* oklch */ color: oklch(51.8% 0.163 142.9);
Tailwind
colors: {
custom: {
50: '#69a45e',
500: '#167e18',
950: '#000000',
},
}SCSS
$custom: #167e18; $custom-light: #69a45e; $custom-dark: #000000;
JSON
{
"hex": "#167e18",
"rgb": {
"r": 22,
"g": 126,
"b": 24
},
"hsl": {
"h": 121.154,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.51755,
"c": 0.16269,
"h": 142.9
},
"luminance": 0.15158
}Semantic roles & 50–950 ramp
primary
#167E18
secondary
#B33DB1
accent
#3BEAED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79