#165F1F#165F1F

#165F1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.120 H 144.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#165F1F
RGBrgb(22, 95, 31)
HSLhsl(127, 62%, 23%)
HSVhsv(127, 77%, 37%)
CMYKcmyk(76.8%, 0%, 67.4%, 62.7%)
CIE-LABlab(34.91, -36.31, 29.59)
CIE-LCHlch(34.91, 46.83, 140.82°)
OKLaboklab(42.69% -0.0981 0.0691)
OKLCHoklch(42.69% 0.12 144.9)
XYZxyz(4.6701, 8.4534, 2.6816)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F1F #5F1656
analogous
#315F16 #165F1F #165F43
triadic
#165F1F #1F165F #5F1F16
tetradic
#165F1F #16315F #5F1656 #5F4316
square
#165F1F #16315F #5F1656 #5F4316
split-complementary
#165F1F #43165F #5F1631
monochromatic
#061908 #0A2D0F #165F1F #22912F #2DC23F

Accessibility & contrast

On white

7.80
#165F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#165F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F1F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F1F#FFFFFF#000000##FFFFFF
##165F1F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #165f1f;
/* rgb */ color: rgb(22, 95, 31);
/* oklch */ color: oklch(42.7% 0.120 144.9);
Tailwind
colors: {
  custom: {
    50: '#608d5d',
    500: '#165f1f',
    950: '#000000',
  },
}
SCSS
$custom: #165f1f;
$custom-light: #608d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#165f1f",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 127.397,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.11997,
    "h": 144.9
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#165F1F
secondary
#963B8B
accent
#42D1E5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #165F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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