#167212#167212
#167212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.152 H 142.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #167212 |
|---|---|
| RGB | rgb(22, 114, 18) |
| HSL | hsl(118, 73%, 26%) |
| HSV | hsv(118, 84%, 45%) |
| CMYK | cmyk(80.7%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.61, -44.29, 41.76) |
| CIE-LCH | lch(41.61, 60.87, 136.68°) |
| OKLab | oklab(48.22% -0.1204 0.0928) |
| OKLCH | oklch(48.22% 0.152 142.4) |
| XYZ | xyz(6.4570, 12.2481, 2.5960) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.45
Darkgreen
#006400
ΔE00 4.70
Green
#008000
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.74
Dark Grass Green
#388004
ΔE00 6.48
Deep Green
#02590F
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167212 #6E1272
analogous
#467212 #167212 #12723E
triadic
#167212 #121672 #721216
tetradic
#167212 #124672 #6E1272 #723E12
square
#167212 #124672 #6E1272 #723E12
split-complementary
#167212 #3E1272 #721246
monochromatic
#051A04 #0C3D0A #167212 #20A71A #2ADC23
Accessibility & contrast
On white
6.09
#167212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#167212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167212
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167212 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #167212; /* rgb */ color: rgb(22, 114, 18); /* oklch */ color: oklch(48.2% 0.152 142.4);
Tailwind
colors: {
custom: {
50: '#669c59',
500: '#167212',
950: '#000000',
},
}SCSS
$custom: #167212; $custom-light: #669c59; $custom-dark: #000000;
JSON
{
"hex": "#167212",
"rgb": {
"r": 22,
"g": 114,
"b": 18
},
"hsl": {
"h": 117.5,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.48216,
"c": 0.15203,
"h": 142.4
},
"luminance": 0.12249
}Semantic roles & 50–950 ramp
primary
#167212
secondary
#A437A9
accent
#38EFE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79