#165D1F#165D1F

#165D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.117 H 145.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#165D1F
RGBrgb(22, 93, 31)
HSLhsl(128, 62%, 23%)
HSVhsv(128, 76%, 36%)
CMYKcmyk(76.3%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.19, -35.54, 28.77)
CIE-LCHlch(34.19, 45.73, 141.01°)
OKLaboklab(42.09% -0.096 0.0673)
OKLCHoklch(42.09% 0.117 145)
XYZxyz(4.4922, 8.0977, 2.6223)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165D1F #5D1654
analogous
#305D16 #165D1F #165D43
triadic
#165D1F #1F165D #5D1F16
tetradic
#165D1F #16305D #5D1654 #5D4316
square
#165D1F #16305D #5D1654 #5D4316
split-complementary
#165D1F #43165D #5D1630
monochromatic
#061908 #0A2C0F #165D1F #228E2F #2DC040

Accessibility & contrast

On white

8.02
#165D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#165D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165D1F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165D1F#FFFFFF#000000##FFFFFF
##165D1F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #165d1f;
/* rgb */ color: rgb(22, 93, 31);
/* oklch */ color: oklch(42.1% 0.117 145.0);
Tailwind
colors: {
  custom: {
    50: '#5f8c5d',
    500: '#165d1f',
    950: '#000000',
  },
}
SCSS
$custom: #165d1f;
$custom-light: #5f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#165d1f",
  "rgb": {
    "r": 22,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 127.606,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.11727,
    "h": 145
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#165D1F
secondary
#943B89
accent
#43D0E5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #165D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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