#167F22#167F22
#167F22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.158 H 144.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #167F22 |
|---|---|
| RGB | rgb(22, 127, 34) |
| HSL | hsl(127, 70%, 29%) |
| HSV | hsv(127, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 73.2%, 50.2%) |
| CIE-LAB | lab(46.26, -47.37, 40.50) |
| CIE-LCH | lch(46.26, 62.32, 139.47°) |
| OKLab | oklab(52.12% -0.128 0.0925) |
| OKLCH | oklch(52.12% 0.158 144.2) |
| XYZ | xyz(8.2084, 15.4638, 4.0653) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.13
Green
#008000
ΔE00 2.92
Darkish Green
#287C37
ΔE00 3.78
Forestgreen (CSS)
#228B22
ΔE00 4.53
Dark Grass Green
#388004
ΔE00 4.91
Emerald Green
#028F1E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F22 #7F1673
analogous
#3F7F16 #167F22 #167F57
triadic
#167F22 #22167F #7F2216
tetradic
#167F22 #163F7F #7F1673 #7F5716
square
#167F22 #163F7F #7F1673 #7F5716
split-complementary
#167F22 #57167F #7F163F
monochromatic
#051A07 #0D4B14 #167F22 #1FB330 #34DC47
Accessibility & contrast
On white
5.13
#167F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#167F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F22
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F22 | 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)
#817213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #167f22; /* rgb */ color: rgb(22, 127, 34); /* oklch */ color: oklch(52.1% 0.158 144.2);
Tailwind
colors: {
custom: {
50: '#69a563',
500: '#167f22',
950: '#000000',
},
}SCSS
$custom: #167f22; $custom-light: #69a563; $custom-dark: #000000;
JSON
{
"hex": "#167f22",
"rgb": {
"r": 22,
"g": 127,
"b": 34
},
"hsl": {
"h": 126.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52121,
"c": 0.15791,
"h": 144.2
},
"luminance": 0.15465
}Semantic roles & 50–950 ramp
primary
#167F22
secondary
#B43DA6
accent
#3BD9ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A