#167F12#167F12
#167F12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.167 H 142.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #167F12 |
|---|---|
| RGB | rgb(22, 127, 18) |
| HSL | hsl(118, 75%, 28%) |
| HSV | hsv(118, 86%, 50%) |
| CMYK | cmyk(82.7%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(46.17, -48.57, 45.98) |
| CIE-LCH | lch(46.17, 66.89, 136.57°) |
| OKLab | oklab(52.01% -0.132 0.1016) |
| OKLCH | oklch(52.01% 0.167 142.4) |
| XYZ | xyz(8.0289, 15.3920, 3.1200) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green
#008000
ΔE00 1.24
Tree Green
#2A7E19
ΔE00 1.39
Dark Grass Green
#388004
ΔE00 3.58
Forestgreen (CSS)
#228B22
ΔE00 4.43
Darkish Green
#287C37
ΔE00 5.46
Emerald Green
#028F1E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F12 #7B127F
analogous
#4C7F12 #167F12 #127F44
triadic
#167F12 #12167F #7F1216
tetradic
#167F12 #124C7F #7B127F #7F4412
square
#167F12 #124C7F #7B127F #7F4412
split-complementary
#167F12 #44127F #7F124C
monochromatic
#051B04 #0D490A #167F12 #1FB51A #31E12B
Accessibility & contrast
On white
5.15
#167F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#167F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F12
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F12 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167f12; /* rgb */ color: rgb(22, 127, 18); /* oklch */ color: oklch(52.0% 0.167 142.4);
Tailwind
colors: {
custom: {
50: '#69a55b',
500: '#167f12',
950: '#000000',
},
}SCSS
$custom: #167f12; $custom-light: #69a55b; $custom-dark: #000000;
JSON
{
"hex": "#167f12",
"rgb": {
"r": 22,
"g": 127,
"b": 18
},
"hsl": {
"h": 117.798,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.5201,
"c": 0.1666,
"h": 142.4
},
"luminance": 0.15393
}Semantic roles & 50–950 ramp
primary
#167F12
secondary
#B038B5
accent
#36F2EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79