#167F2E#167F2E
#167F2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.149 H 146.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #167F2E |
|---|---|
| RGB | rgb(22, 127, 46) |
| HSL | hsl(134, 70%, 29%) |
| HSV | hsv(134, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.37, -46.02, 35.25) |
| CIE-LCH | lch(46.37, 57.97, 142.55°) |
| OKLab | oklab(52.25% -0.1238 0.0827) |
| OKLCH | oklch(52.25% 0.149 146.3) |
| XYZ | xyz(8.4128, 15.5455, 5.1414) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.25
Tree Green
#2A7E19
ΔE00 3.73
Jungle Green
#048243
ΔE00 4.06
Green
#008000
ΔE00 4.74
Forestgreen (CSS)
#228B22
ΔE00 5.32
Dark Grass Green
#388004
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F2E #7F1667
analogous
#337F16 #167F2E #167F63
triadic
#167F2E #2E167F #7F2E16
tetradic
#167F2E #16337F #7F1667 #7F6316
square
#167F2E #16337F #7F1667 #7F6316
split-complementary
#167F2E #63167F #7F1633
monochromatic
#051A09 #0D4B1B #167F2E #1FB341 #34DC5A
Accessibility & contrast
On white
5.11
#167F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#167F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F2E
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F2E | 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)
#817325
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #167f2e; /* rgb */ color: rgb(22, 127, 46); /* oklch */ color: oklch(52.2% 0.149 146.3);
Tailwind
colors: {
custom: {
50: '#68a56a',
500: '#167f2e',
950: '#000000',
},
}SCSS
$custom: #167f2e; $custom-light: #68a56a; $custom-dark: #000000;
JSON
{
"hex": "#167f2e",
"rgb": {
"r": 22,
"g": 127,
"b": 46
},
"hsl": {
"h": 133.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52247,
"c": 0.14893,
"h": 146.3
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#167F2E
secondary
#B43D99
accent
#3BC4ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A