#167E1F#167E1F
#167E1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.159 H 143.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #167E1F |
|---|---|
| RGB | rgb(22, 126, 31) |
| HSL | hsl(125, 70%, 29%) |
| HSV | hsv(125, 83%, 49%) |
| CMYK | cmyk(82.5%, 0%, 75.4%, 50.6%) |
| CIE-LAB | lab(45.89, -47.31, 41.33) |
| CIE-LCH | lch(45.89, 62.82, 138.86°) |
| OKLab | oklab(51.81% -0.128 0.0938) |
| OKLCH | oklch(51.81% 0.159 143.8) |
| XYZ | xyz(8.0385, 15.1902, 3.8044) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.89
Green
#008000
ΔE00 2.66
Darkish Green
#287C37
ΔE00 4.01
Dark Grass Green
#388004
ΔE00 4.71
Forestgreen (CSS)
#228B22
ΔE00 4.80
Emerald Green
#028F1E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167E1F #7E1675
analogous
#417E16 #167E1F #167E53
triadic
#167E1F #1F167E #7E1F16
tetradic
#167E1F #16417E #7E1675 #7E5316
square
#167E1F #16417E #7E1675 #7E5316
split-complementary
#167E1F #53167E #7E1641
monochromatic
#051A06 #0D4A12 #167E1F #1FB22C #33DB42
Accessibility & contrast
On white
5.20
#167E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#167E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167E1F
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167E1F | 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)
#81710E
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167e1f; /* rgb */ color: rgb(22, 126, 31); /* oklch */ color: oklch(51.8% 0.159 143.8);
Tailwind
colors: {
custom: {
50: '#69a461',
500: '#167e1f',
950: '#000000',
},
}SCSS
$custom: #167e1f; $custom-light: #69a461; $custom-dark: #000000;
JSON
{
"hex": "#167e1f",
"rgb": {
"r": 22,
"g": 126,
"b": 31
},
"hsl": {
"h": 125.192,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.51807,
"c": 0.15868,
"h": 143.8
},
"luminance": 0.15191
}Semantic roles & 50–950 ramp
primary
#167E1F
secondary
#B33DA9
accent
#3BDEED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79