#167C1B#167C1B
#167C1B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.159 H 143.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #167C1B |
|---|---|
| RGB | rgb(22, 124, 27) |
| HSL | hsl(123, 70%, 29%) |
| HSV | hsv(123, 82%, 49%) |
| CMYK | cmyk(82.3%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(45.17, -46.98, 42.12) |
| CIE-LCH | lch(45.17, 63.10, 138.12°) |
| OKLab | oklab(51.2% -0.1273 0.0949) |
| OKLCH | oklch(51.2% 0.159 143.3) |
| XYZ | xyz(7.7359, 14.6641, 3.4594) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.85
Green
#008000
ΔE00 2.61
Darkish Green
#287C37
ΔE00 4.29
Dark Grass Green
#388004
ΔE00 4.64
Forestgreen (CSS)
#228B22
ΔE00 5.44
Emerald Green
#028F1E
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167C1B #7C1677
analogous
#447C16 #167C1B #167C4E
triadic
#167C1B #1B167C #7C1B16
tetradic
#167C1B #16447C #7C1677 #7C4E16
square
#167C1B #16447C #7C1677 #7C4E16
split-complementary
#167C1B #4E167C #7C1644
monochromatic
#051A06 #0D4810 #167C1B #1FB026 #32DB3A
Accessibility & contrast
On white
5.34
#167C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#167C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167C1B
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167C1B | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F06
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #167c1b; /* rgb */ color: rgb(22, 124, 27); /* oklch */ color: oklch(51.2% 0.159 143.3);
Tailwind
colors: {
custom: {
50: '#68a35f',
500: '#167c1b',
950: '#000000',
},
}SCSS
$custom: #167c1b; $custom-light: #68a35f; $custom-dark: #000000;
JSON
{
"hex": "#167c1b",
"rgb": {
"r": 22,
"g": 124,
"b": 27
},
"hsl": {
"h": 122.941,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.51197,
"c": 0.15876,
"h": 143.3
},
"luminance": 0.14665
}Semantic roles & 50–950 ramp
primary
#167C1B
secondary
#B13DAB
accent
#3BE4ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79