#165F2C#165F2C

#165F2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.108 H 149.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#165F2C
RGBrgb(22, 95, 44)
HSLhsl(138, 62%, 23%)
HSVhsv(138, 77%, 37%)
CMYKcmyk(76.8%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.08, -34.35, 22.86)
CIE-LCHlch(35.08, 41.26, 146.36°)
OKLaboklab(42.88% -0.0924 0.0554)
OKLCHoklch(42.88% 0.108 149.1)
XYZxyz(4.8773, 8.5363, 3.7730)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F2C #5F1649
analogous
#255F16 #165F2C #165F50
triadic
#165F2C #2C165F #5F2C16
tetradic
#165F2C #16255F #5F1649 #5F5016
square
#165F2C #16255F #5F1649 #5F5016
split-complementary
#165F2C #50165F #5F1625
monochromatic
#06190C #0A2D15 #165F2C #229143 #2DC25A

Accessibility & contrast

On white

7.76
#165F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #165F2C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F2C#FFFFFF#000000##FFFFFF
##165F2C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #165f2c;
/* rgb */ color: rgb(22, 95, 44);
/* oklch */ color: oklch(42.9% 0.108 149.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d66',
    500: '#165f2c',
    950: '#000000',
  },
}
SCSS
$custom: #165f2c;
$custom-light: #5f8d66;
$custom-dark: #000000;
JSON
{
  "hex": "#165f2c",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 138.082,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.10777,
    "h": 149.1
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#165F2C
secondary
#963B7B
accent
#42B4E5
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #165F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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