#167F1C#167F1C
#167F1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.162 H 143.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #167F1C |
|---|---|
| RGB | rgb(22, 127, 28) |
| HSL | hsl(123, 70%, 29%) |
| HSV | hsv(123, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.22, -47.90, 42.80) |
| CIE-LCH | lch(46.22, 64.23, 138.22°) |
| OKLab | oklab(52.07% -0.1297 0.0964) |
| OKLCH | oklch(52.07% 0.162 143.4) |
| XYZ | xyz(8.1293, 15.4322, 3.6486) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.62
Green
#008000
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 4.31
Forestgreen (CSS)
#228B22
ΔE00 4.40
Darkish Green
#287C37
ΔE00 4.49
Emerald Green
#028F1E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F1C #7F1679
analogous
#447F16 #167F1C #167F51
triadic
#167F1C #1C167F #7F1C16
tetradic
#167F1C #16447F #7F1679 #7F5116
square
#167F1C #16447F #7F1679 #7F5116
split-complementary
#167F1C #51167F #7F1644
monochromatic
#051A06 #0D4B10 #167F1C #1FB328 #34DC3D
Accessibility & contrast
On white
5.14
#167F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#167F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F1C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F1C | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#776A27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167f1c; /* rgb */ color: rgb(22, 127, 28); /* oklch */ color: oklch(52.1% 0.162 143.4);
Tailwind
colors: {
custom: {
50: '#69a560',
500: '#167f1c',
950: '#000000',
},
}SCSS
$custom: #167f1c; $custom-light: #69a560; $custom-dark: #000000;
JSON
{
"hex": "#167f1c",
"rgb": {
"r": 22,
"g": 127,
"b": 28
},
"hsl": {
"h": 123.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52072,
"c": 0.16164,
"h": 143.4
},
"luminance": 0.15433
}Semantic roles & 50–950 ramp
primary
#167F1C
secondary
#B43DAD
accent
#3BE3ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79