#167F2D#167F2D
#167F2D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.150 H 146.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #167F2D |
|---|---|
| RGB | rgb(22, 127, 45) |
| HSL | hsl(133, 70%, 29%) |
| HSV | hsv(133, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(46.36, -46.15, 35.72) |
| CIE-LCH | lch(46.36, 58.35, 142.26°) |
| OKLab | oklab(52.24% -0.1242 0.0836) |
| OKLCH | oklch(52.24% 0.15 146.1) |
| XYZ | xyz(8.3933, 15.5378, 5.0388) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.37
Tree Green
#2A7E19
ΔE00 3.57
Jungle Green
#048243
ΔE00 4.23
Green
#008000
ΔE00 4.57
Forestgreen (CSS)
#228B22
ΔE00 5.22
Dark Grass Green
#388004
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F2D #7F1668
analogous
#347F16 #167F2D #167F62
triadic
#167F2D #2D167F #7F2D16
tetradic
#167F2D #16347F #7F1668 #7F6216
square
#167F2D #16347F #7F1668 #7F6216
split-complementary
#167F2D #62167F #7F1634
monochromatic
#051A09 #0D4B1B #167F2D #1FB33F #34DC58
Accessibility & contrast
On white
5.11
#167F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#167F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F2D
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F2D | 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)
#817324
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #167f2d; /* rgb */ color: rgb(22, 127, 45); /* oklch */ color: oklch(52.2% 0.150 146.1);
Tailwind
colors: {
custom: {
50: '#68a569',
500: '#167f2d',
950: '#000000',
},
}SCSS
$custom: #167f2d; $custom-light: #68a569; $custom-dark: #000000;
JSON
{
"hex": "#167f2d",
"rgb": {
"r": 22,
"g": 127,
"b": 45
},
"hsl": {
"h": 133.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52235,
"c": 0.14975,
"h": 146.1
},
"luminance": 0.15539
}Semantic roles & 50–950 ramp
primary
#167F2D
secondary
#B43D9A
accent
#3BC6ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A