#167F1F#167F1F
#167F1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.160 H 143.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #167F1F |
|---|---|
| RGB | rgb(22, 127, 31) |
| HSL | hsl(125, 70%, 29%) |
| HSV | hsv(125, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(46.24, -47.64, 41.68) |
| CIE-LCH | lch(46.24, 63.30, 138.82°) |
| OKLab | oklab(52.1% -0.1289 0.0945) |
| OKLCH | oklch(52.1% 0.16 143.7) |
| XYZ | xyz(8.1670, 15.4473, 3.8472) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.85
Green
#008000
ΔE00 2.53
Darkish Green
#287C37
ΔE00 4.15
Forestgreen (CSS)
#228B22
ΔE00 4.45
Dark Grass Green
#388004
ΔE00 4.59
Emerald Green
#028F1E
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F1F #7F1676
analogous
#427F16 #167F1F #167F54
triadic
#167F1F #1F167F #7F1F16
tetradic
#167F1F #16427F #7F1676 #7F5416
square
#167F1F #16427F #7F1676 #7F5416
split-complementary
#167F1F #54167F #7F1642
monochromatic
#051A06 #0D4B12 #167F1F #1FB32C #34DC42
Accessibility & contrast
On white
5.13
#167F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#167F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F1F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F1F | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #167f1f; /* rgb */ color: rgb(22, 127, 31); /* oklch */ color: oklch(52.1% 0.160 143.7);
Tailwind
colors: {
custom: {
50: '#69a561',
500: '#167f1f',
950: '#000000',
},
}SCSS
$custom: #167f1f; $custom-light: #69a561; $custom-dark: #000000;
JSON
{
"hex": "#167f1f",
"rgb": {
"r": 22,
"g": 127,
"b": 31
},
"hsl": {
"h": 125.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52095,
"c": 0.15984,
"h": 143.7
},
"luminance": 0.15448
}Semantic roles & 50–950 ramp
primary
#167F1F
secondary
#B43DAA
accent
#3BDEED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79