#165F38#165F38

#165F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.095 H 155.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#165F38
RGBrgb(22, 95, 56)
HSLhsl(148, 62%, 23%)
HSVhsv(148, 77%, 37%)
CMYKcmyk(76.8%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.28, -32.01, 16.15)
CIE-LCHlch(35.28, 35.85, 153.23°)
OKLaboklab(43.11% -0.0864 0.0403)
OKLCHoklch(43.11% 0.095 155)
XYZxyz(5.1364, 8.6399, 5.1376)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F38 #5F163D
analogous
#195F16 #165F38 #165F5C
triadic
#165F38 #38165F #5F3816
tetradic
#165F38 #16195F #5F163D #5F5C16
square
#165F38 #16195F #5F163D #5F5C16
split-complementary
#165F38 #5C165F #5F1619
monochromatic
#06190F #0A2D1B #165F38 #229155 #2DC273

Accessibility & contrast

On white

7.70
#165F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#165F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F38
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F38#FFFFFF#000000##FFFFFF
##165F381.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#56503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #165f38;
/* rgb */ color: rgb(22, 95, 56);
/* oklch */ color: oklch(43.1% 0.095 155.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d6f',
    500: '#165f38',
    950: '#000000',
  },
}
SCSS
$custom: #165f38;
$custom-light: #5f8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#165f38",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 147.945,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.09537,
    "h": 155
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#165F38
secondary
#963B6C
accent
#4299E5
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #165F38

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

Preview Lab → · Contrast checker → · Palette generator →

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