#165F31#165F31

#165F31 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.103 H 151.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#165F31
RGBrgb(22, 95, 49)
HSLhsl(142, 62%, 23%)
HSVhsv(142, 77%, 37%)
CMYKcmyk(76.8%, 0%, 48.4%, 62.7%)
CIE-LABlab(35.16, -33.44, 20.10)
CIE-LCHlch(35.16, 39.01, 148.99°)
OKLaboklab(42.97% -0.09 0.0494)
OKLCHoklch(42.97% 0.103 151.2)
XYZxyz(4.9770, 8.5762, 4.2982)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F31 #5F1644
analogous
#1F5F16 #165F31 #165F55
triadic
#165F31 #31165F #5F3116
tetradic
#165F31 #161F5F #5F1644 #5F5516
square
#165F31 #161F5F #5F1644 #5F5516
split-complementary
#165F31 #55165F #5F161F
monochromatic
#06190D #0A2D17 #165F31 #22914B #2DC264

Accessibility & contrast

On white

7.73
#165F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#165F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F31
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F31#FFFFFF#000000##FFFFFF
##165F311.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#575034
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #165f31;
/* rgb */ color: rgb(22, 95, 49);
/* oklch */ color: oklch(43.0% 0.103 151.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d6a',
    500: '#165f31',
    950: '#000000',
  },
}
SCSS
$custom: #165f31;
$custom-light: #5f8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#165f31",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 142.192,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.10266,
    "h": 151.2
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#165F31
secondary
#963B74
accent
#42A9E5
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #165F31

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

Preview Lab → · Contrast checker → · Palette generator →

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