#167F18#167F18
#167F18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.164 H 142.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #167F18 |
|---|---|
| RGB | rgb(22, 127, 24) |
| HSL | hsl(121, 70%, 29%) |
| HSV | hsv(121, 83%, 50%) |
| CMYK | cmyk(82.7%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(46.20, -48.20, 44.17) |
| CIE-LCH | lch(46.20, 65.38, 137.49°) |
| OKLab | oklab(52.04% -0.1307 0.0987) |
| OKLCH | oklch(52.04% 0.164 142.9) |
| XYZ | xyz(8.0846, 15.4143, 3.4131) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.44
Green
#008000
ΔE00 1.75
Dark Grass Green
#388004
ΔE00 3.97
Forestgreen (CSS)
#228B22
ΔE00 4.38
Darkish Green
#287C37
ΔE00 4.91
Emerald Green
#028F1E
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167F18 #7F167D
analogous
#497F16 #167F18 #167F4D
triadic
#167F18 #18167F #7F1816
tetradic
#167F18 #16497F #7F167D #7F4D16
square
#167F18 #16497F #7F167D #7F4D16
split-complementary
#167F18 #4D167F #7F1649
monochromatic
#051A05 #0D4B0E #167F18 #1FB322 #34DC37
Accessibility & contrast
On white
5.14
#167F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#167F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167F18
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167F18 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #167f18; /* rgb */ color: rgb(22, 127, 24); /* oklch */ color: oklch(52.0% 0.164 142.9);
Tailwind
colors: {
custom: {
50: '#69a55e',
500: '#167f18',
950: '#000000',
},
}SCSS
$custom: #167f18; $custom-light: #69a55e; $custom-dark: #000000;
JSON
{
"hex": "#167f18",
"rgb": {
"r": 22,
"g": 127,
"b": 24
},
"hsl": {
"h": 121.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52044,
"c": 0.16382,
"h": 142.9
},
"luminance": 0.15415
}Semantic roles & 50–950 ramp
primary
#167F18
secondary
#B43DB2
accent
#3BEAED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79