#167A1C#167A1C

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

Color values

HEX#167A1C
RGBrgb(22, 122, 28)
HSLhsl(124, 69%, 28%)
HSVhsv(124, 82%, 48%)
CMYKcmyk(82%, 0%, 77%, 52.2%)
CIE-LABlab(44.48, -46.23, 41.06)
CIE-LCHlch(44.48, 61.83, 138.39°)
OKLaboklab(50.62% -0.1252 0.0928)
OKLCHoklch(50.62% 0.156 143.5)
XYZxyz(7.4995, 14.1726, 3.4387)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167A1C #7A1674
analogous
#427A16 #167A1C #167A4E
triadic
#167A1C #1C167A #7A1C16
tetradic
#167A1C #16427A #7A1674 #7A4E16
square
#167A1C #16427A #7A1674 #7A4E16
split-complementary
#167A1C #4E167A #7A1642
monochromatic
#051A06 #0D4610 #167A1C #1FAE28 #31DA3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167A1C#FFFFFF#000000##FFFFFF
##167A1C1.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)
#7D6E09
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #167a1c;
/* rgb */ color: rgb(22, 122, 28);
/* oklch */ color: oklch(50.6% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#68a15f',
    500: '#167a1c',
    950: '#000000',
  },
}
SCSS
$custom: #167a1c;
$custom-light: #68a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#167a1c",
  "rgb": {
    "r": 22,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 123.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.15585,
    "h": 143.5
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#167A1C
secondary
#AF3DA8
accent
#3CE2EC
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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