#167F31#167F31

#167F31 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.146 H 146.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#167F31
RGBrgb(22, 127, 49)
HSLhsl(135, 70%, 29%)
HSVhsv(135, 83%, 50%)
CMYKcmyk(82.7%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.41, -45.62, 33.83)
CIE-LCHlch(46.41, 56.79, 143.44°)
OKLaboklab(52.29% -0.1227 0.0799)
OKLCHoklch(52.29% 0.146 146.9)
XYZxyz(8.4740, 15.5700, 5.4638)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F31 #7F1664
analogous
#2F7F16 #167F31 #167F66
triadic
#167F31 #31167F #7F3116
tetradic
#167F31 #162F7F #7F1664 #7F6616
square
#167F31 #162F7F #7F1664 #7F6616
split-complementary
#167F31 #66167F #7F162F
monochromatic
#051A0A #0D4B1D #167F31 #1FB345 #34DC5F

Accessibility & contrast

On white

5.10
#167F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#167F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F31#FFFFFF#000000##FFFFFF
##167F311.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f31;
/* rgb */ color: rgb(22, 127, 49);
/* oklch */ color: oklch(52.3% 0.146 146.9);
Tailwind
colors: {
  custom: {
    50: '#68a56c',
    500: '#167f31',
    950: '#000000',
  },
}
SCSS
$custom: #167f31;
$custom-light: #68a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#167f31",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 135.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.14642,
    "h": 146.9
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#167F31
secondary
#B43D95
accent
#3BBFED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #167F31

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

Preview Lab → · Contrast checker → · Palette generator →

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