#167E22#167E22
#167E22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.157 H 144.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #167E22 |
|---|---|
| RGB | rgb(22, 126, 34) |
| HSL | hsl(127, 70%, 29%) |
| HSV | hsv(127, 83%, 49%) |
| CMYK | cmyk(82.5%, 0%, 73%, 50.6%) |
| CIE-LAB | lab(45.92, -47.03, 40.14) |
| CIE-LCH | lch(45.92, 61.83, 139.52°) |
| OKLab | oklab(51.83% -0.1271 0.0917) |
| OKLCH | oklch(51.83% 0.157 144.2) |
| XYZ | xyz(8.0799, 15.2068, 4.0224) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.19
Green
#008000
ΔE00 3.05
Darkish Green
#287C37
ΔE00 3.63
Forestgreen (CSS)
#228B22
ΔE00 4.89
Dark Grass Green
#388004
ΔE00 5.03
Jungle Green
#048243
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167E22 #7E1672
analogous
#3E7E16 #167E22 #167E56
triadic
#167E22 #22167E #7E2216
tetradic
#167E22 #163E7E #7E1672 #7E5616
square
#167E22 #163E7E #7E1672 #7E5616
split-complementary
#167E22 #56167E #7E163E
monochromatic
#051A07 #0D4A14 #167E22 #1FB230 #33DB46
Accessibility & contrast
On white
5.20
#167E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#167E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167E22
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167E22 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167e22; /* rgb */ color: rgb(22, 126, 34); /* oklch */ color: oklch(51.8% 0.157 144.2);
Tailwind
colors: {
custom: {
50: '#68a463',
500: '#167e22',
950: '#000000',
},
}SCSS
$custom: #167e22; $custom-light: #68a463; $custom-dark: #000000;
JSON
{
"hex": "#167e22",
"rgb": {
"r": 22,
"g": 126,
"b": 34
},
"hsl": {
"h": 126.923,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.51832,
"c": 0.15673,
"h": 144.2
},
"luminance": 0.15208
}Semantic roles & 50–950 ramp
primary
#167E22
secondary
#B33DA5
accent
#3BD8ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A