#167E1B#167E1B
#167E1B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.161 H 143.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #167E1B |
|---|---|
| RGB | rgb(22, 126, 27) |
| HSL | hsl(123, 70%, 29%) |
| HSV | hsv(123, 83%, 49%) |
| CMYK | cmyk(82.5%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(45.87, -47.64, 42.81) |
| CIE-LCH | lch(45.87, 64.05, 138.06°) |
| OKLab | oklab(51.78% -0.1291 0.0963) |
| OKLCH | oklch(51.78% 0.161 143.3) |
| XYZ | xyz(7.9890, 15.1704, 3.5438) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.59
Green
#008000
ΔE00 2.20
Dark Grass Green
#388004
ΔE00 4.33
Darkish Green
#287C37
ΔE00 4.47
Forestgreen (CSS)
#228B22
ΔE00 4.74
Emerald Green
#028F1E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167E1B #7E1679
analogous
#457E16 #167E1B #167E4F
triadic
#167E1B #1B167E #7E1B16
tetradic
#167E1B #16457E #7E1679 #7E4F16
square
#167E1B #16457E #7E1679 #7E4F16
split-complementary
#167E1B #4F167E #7E1645
monochromatic
#051A06 #0D4A10 #167E1B #1FB226 #33DB3B
Accessibility & contrast
On white
5.21
#167E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#167E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167E1B
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167E1B | 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)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167e1b; /* rgb */ color: rgb(22, 126, 27); /* oklch */ color: oklch(51.8% 0.161 143.3);
Tailwind
colors: {
custom: {
50: '#69a45f',
500: '#167e1b',
950: '#000000',
},
}SCSS
$custom: #167e1b; $custom-light: #69a45f; $custom-dark: #000000;
JSON
{
"hex": "#167e1b",
"rgb": {
"r": 22,
"g": 126,
"b": 27
},
"hsl": {
"h": 122.885,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.51776,
"c": 0.16106,
"h": 143.3
},
"luminance": 0.15171
}Semantic roles & 50–950 ramp
primary
#167E1B
secondary
#B33DAD
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79