#167A18#167A18

#167A18 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.158 H 143.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#167A18
RGBrgb(22, 122, 24)
HSLhsl(121, 69%, 28%)
HSVhsv(121, 82%, 48%)
CMYKcmyk(82%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.45, -46.55, 42.49)
CIE-LCHlch(44.45, 63.03, 137.61°)
OKLaboklab(50.59% -0.1263 0.0952)
OKLCHoklch(50.59% 0.158 143)
XYZxyz(7.4548, 14.1547, 3.2032)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A18 #7A1678
analogous
#467A16 #167A18 #167A4A
triadic
#167A18 #18167A #7A1816
tetradic
#167A18 #16467A #7A1678 #7A4A16
square
#167A18 #16467A #7A1678 #7A4A16
split-complementary
#167A18 #4A167A #7A1646
monochromatic
#051A05 #0D460E #167A18 #1FAE22 #31DA34

Accessibility & contrast

On white

5.48
#167A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#167A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167A18
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167A18#FFFFFF#000000##FFFFFF
##167A181.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167a18;
/* rgb */ color: rgb(22, 122, 24);
/* oklch */ color: oklch(50.6% 0.158 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#167a18',
    950: '#000000',
  },
}
SCSS
$custom: #167a18;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#167a18",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 121.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.15814,
    "h": 143
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#167A18
secondary
#AF3DAD
accent
#3CE9EC
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167A18

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#167A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva