#165F2F#165F2F

#165F2F is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.105 H 150.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#165F2F
RGBrgb(22, 95, 47)
HSLhsl(141, 62%, 23%)
HSVhsv(141, 77%, 37%)
CMYKcmyk(76.8%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.12, -33.81, 21.21)
CIE-LCHlch(35.12, 39.92, 147.90°)
OKLaboklab(42.93% -0.091 0.0518)
OKLCHoklch(42.93% 0.105 150.3)
XYZxyz(4.9358, 8.5597, 4.0808)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F2F #5F1646
analogous
#215F16 #165F2F #165F53
triadic
#165F2F #2F165F #5F2F16
tetradic
#165F2F #16215F #5F1646 #5F5316
square
#165F2F #16215F #5F1646 #5F5316
split-complementary
#165F2F #53165F #5F1621
monochromatic
#06190C #0A2D16 #165F2F #229148 #2DC260

Accessibility & contrast

On white

7.74
#165F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#165F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F2F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F2F#FFFFFF#000000##FFFFFF
##165F2F1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #165f2f;
/* rgb */ color: rgb(22, 95, 47);
/* oklch */ color: oklch(42.9% 0.105 150.3);
Tailwind
colors: {
  custom: {
    50: '#5f8d68',
    500: '#165f2f',
    950: '#000000',
  },
}
SCSS
$custom: #165f2f;
$custom-light: #5f8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#165f2f",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 140.548,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.10472,
    "h": 150.3
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#165F2F
secondary
#963B77
accent
#42AEE5
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #165F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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