#167831#167831

#167831 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.137 H 147.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#167831
RGBrgb(22, 120, 49)
HSLhsl(137, 69%, 28%)
HSVhsv(137, 82%, 47%)
CMYKcmyk(81.7%, 0%, 59.2%, 52.9%)
CIE-LABlab(43.98, -43.12, 30.98)
CIE-LCHlch(43.98, 53.09, 144.30°)
OKLaboklab(50.27% -0.1159 0.0737)
OKLCHoklch(50.27% 0.137 147.5)
XYZxyz(7.6011, 13.8243, 5.1729)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167831 #78165D
analogous
#2C7816 #167831 #167862
triadic
#167831 #311678 #783116
tetradic
#167831 #162C78 #78165D #786216
square
#167831 #162C78 #78165D #786216
split-complementary
#167831 #621678 #78162C
monochromatic
#051A0B #0D441C #167831 #1FAC46 #2FD95E

Accessibility & contrast

On white

5.58
#167831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#167831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167831
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167831#FFFFFF#000000##FFFFFF
##1678311.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #167831;
/* rgb */ color: rgb(22, 120, 49);
/* oklch */ color: oklch(50.3% 0.137 147.5);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#167831',
    950: '#000000',
  },
}
SCSS
$custom: #167831;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#167831",
  "rgb": {
    "r": 22,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 136.531,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.13737,
    "h": 147.5
  },
  "luminance": 0.13825
}

Semantic roles & 50–950 ramp

primary
#167831
secondary
#AD3C8E
accent
#3CBBEC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #167831

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

Preview Lab → · Contrast checker → · Palette generator →

#167831 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva