#167412#167412
#167412 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.154 H 142.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #167412 |
|---|---|
| RGB | rgb(22, 116, 18) |
| HSL | hsl(118, 73%, 26%) |
| HSV | hsv(118, 84%, 45%) |
| CMYK | cmyk(81%, 0%, 84.5%, 54.5%) |
| CIE-LAB | lab(42.31, -44.96, 42.42) |
| CIE-LCH | lch(42.31, 61.82, 136.67°) |
| OKLab | oklab(48.8% -0.1222 0.0942) |
| OKLCH | oklch(48.8% 0.154 142.4) |
| XYZ | xyz(6.6850, 12.7042, 2.6720) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Green
#008000
ΔE00 4.45
Darkgreen
#006400
ΔE00 5.35
Darkish Green
#287C37
ΔE00 5.48
Dark Grass Green
#388004
ΔE00 5.91
Forestgreen (CSS)
#228B22
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167412 #701274
analogous
#477412 #167412 #12743F
triadic
#167412 #121674 #741216
tetradic
#167412 #124774 #701274 #743F12
square
#167412 #124774 #701274 #743F12
split-complementary
#167412 #3F1274 #741247
monochromatic
#051A04 #0C3F0A #167412 #20A91A #2BDD23
Accessibility & contrast
On white
5.93
#167412 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#167412 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167412
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167412 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #167412; /* rgb */ color: rgb(22, 116, 18); /* oklch */ color: oklch(48.8% 0.154 142.4);
Tailwind
colors: {
custom: {
50: '#669d5a',
500: '#167412',
950: '#000000',
},
}SCSS
$custom: #167412; $custom-light: #669d5a; $custom-dark: #000000;
JSON
{
"hex": "#167412",
"rgb": {
"r": 22,
"g": 116,
"b": 18
},
"hsl": {
"h": 117.551,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.48804,
"c": 0.1543,
"h": 142.4
},
"luminance": 0.12705
}Semantic roles & 50–950 ramp
primary
#167412
secondary
#A637AB
accent
#38F0E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79