#167F2F#167F2F
#167F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 146.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #167F2F |
|---|---|
| RGB | rgb(22, 127, 47) |
| HSL | hsl(134, 70%, 29%) |
| HSV | hsv(134, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.38, -45.89, 34.78) |
| CIE-LCH | lch(46.38, 57.58, 142.84°) |
| OKLab | oklab(52.26% -0.1235 0.0818) |
| OKLCH | oklch(52.26% 0.148 146.5) |
| XYZ | xyz(8.4327, 15.5535, 5.2465) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.13
Tree Green
#2A7E19
ΔE00 3.88
Jungle Green
#048243
ΔE00 3.90
Green
#008000
ΔE00 4.91
Forestgreen (CSS)
#228B22
ΔE00 5.42
Emerald Green
#028F1E
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F2F #7F1666
analogous
#317F16 #167F2F #167F64
triadic
#167F2F #2F167F #7F2F16
tetradic
#167F2F #16317F #7F1666 #7F6416
square
#167F2F #16317F #7F1666 #7F6416
split-complementary
#167F2F #64167F #7F1631
monochromatic
#051A0A #0D4B1C #167F2F #1FB342 #34DC5C
Accessibility & contrast
On white
5.11
#167F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#167F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F2F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F2F | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #167f2f; /* rgb */ color: rgb(22, 127, 47); /* oklch */ color: oklch(52.3% 0.148 146.5);
Tailwind
colors: {
custom: {
50: '#68a56a',
500: '#167f2f',
950: '#000000',
},
}SCSS
$custom: #167f2f; $custom-light: #68a56a; $custom-dark: #000000;
JSON
{
"hex": "#167f2f",
"rgb": {
"r": 22,
"g": 127,
"b": 47
},
"hsl": {
"h": 134.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52259,
"c": 0.14811,
"h": 146.5
},
"luminance": 0.15555
}Semantic roles & 50–950 ramp
primary
#167F2F
secondary
#B43D98
accent
#3BC3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A