#165B1F#165B1F

#165B1F is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.115 H 145.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#165B1F
RGBrgb(22, 91, 31)
HSLhsl(128, 61%, 22%)
HSVhsv(128, 76%, 36%)
CMYKcmyk(75.8%, 0%, 65.9%, 64.3%)
CIE-LABlab(33.46, -34.76, 27.94)
CIE-LCHlch(33.46, 44.60, 141.21°)
OKLaboklab(41.48% -0.0939 0.0656)
OKLCHoklch(41.48% 0.115 145.1)
XYZxyz(4.3190, 7.7512, 2.5646)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165B1F #5B1652
analogous
#305B16 #165B1F #165B42
triadic
#165B1F #1F165B #5B1F16
tetradic
#165B1F #16305B #5B1652 #5B4216
square
#165B1F #16305B #5B1652 #5B4216
split-complementary
#165B1F #42165B #5B1630
monochromatic
#061908 #0A2A0E #165B1F #228C30 #2EBE41

Accessibility & contrast

On white

8.23
#165B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#165B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165B1F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165B1F#FFFFFF#000000##FFFFFF
##165B1F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5218
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #165b1f;
/* rgb */ color: rgb(22, 91, 31);
/* oklch */ color: oklch(41.5% 0.115 145.1);
Tailwind
colors: {
  custom: {
    50: '#5f8a5d',
    500: '#165b1f',
    950: '#000000',
  },
}
SCSS
$custom: #165b1f;
$custom-light: #5f8a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#165b1f",
  "rgb": {
    "r": 22,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 127.826,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.11453,
    "h": 145.1
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#165B1F
secondary
#923B87
accent
#44CFE4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #165B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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