#165F28#165F28

#165F28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.112 H 147.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#165F28
RGBrgb(22, 95, 40)
HSLhsl(135, 62%, 23%)
HSVhsv(135, 77%, 37%)
CMYKcmyk(76.8%, 0%, 57.9%, 62.7%)
CIE-LABlab(35.02, -35.02, 25.01)
CIE-LCHlch(35.02, 43.03, 144.47°)
OKLaboklab(42.81% -0.0943 0.06)
OKLCHoklch(42.81% 0.112 147.6)
XYZxyz(4.8057, 8.5077, 3.3959)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165F28 #5F164D
analogous
#285F16 #165F28 #165F4C
triadic
#165F28 #28165F #5F2816
tetradic
#165F28 #16285F #5F164D #5F4C16
square
#165F28 #16285F #5F164D #5F4C16
split-complementary
#165F28 #4C165F #5F1628
monochromatic
#06190A #0A2D13 #165F28 #22913D #2DC252

Accessibility & contrast

On white

7.77
#165F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#165F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165F28
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165F28#FFFFFF#000000##FFFFFF
##165F281.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #165f28;
/* rgb */ color: rgb(22, 95, 40);
/* oklch */ color: oklch(42.8% 0.112 147.6);
Tailwind
colors: {
  custom: {
    50: '#608d63',
    500: '#165f28',
    950: '#000000',
  },
}
SCSS
$custom: #165f28;
$custom-light: #608d63;
$custom-dark: #000000;
JSON
{
  "hex": "#165f28",
  "rgb": {
    "r": 22,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 134.795,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.11174,
    "h": 147.6
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#165F28
secondary
#963B80
accent
#42BDE5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #165F28

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

Preview Lab → · Contrast checker → · Palette generator →

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