#165217#165217

#165217 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.109 H 143.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#165217
RGBrgb(22, 82, 23)
HSLhsl(121, 58%, 20%)
HSVhsv(121, 73%, 32%)
CMYKcmyk(73.2%, 0%, 72%, 67.8%)
CIE-LABlab(30.08, -32.21, 28.16)
CIE-LCHlch(30.08, 42.79, 138.84°)
OKLaboklab(38.65% -0.0874 0.0651)
OKLCHoklch(38.65% 0.109 143.3)
XYZxyz(3.5026, 6.2667, 1.8354)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165217 #521651
analogous
#335216 #165217 #165235
triadic
#165217 #171652 #521716
tetradic
#165217 #163352 #521651 #523516
square
#165217 #163352 #521651 #523516
split-complementary
#165217 #351652 #521633
monochromatic
#061807 #092209 #165217 #238225 #30B332

Accessibility & contrast

On white

9.32
#165217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#165217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165217
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165217#FFFFFF#000000##FFFFFF
##1652171.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#074F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #165217;
/* rgb */ color: rgb(22, 82, 23);
/* oklch */ color: oklch(38.7% 0.109 143.3);
Tailwind
colors: {
  custom: {
    50: '#5d8357',
    500: '#165217',
    950: '#000000',
  },
}
SCSS
$custom: #165217;
$custom-light: #5d8357;
$custom-dark: #000000;
JSON
{
  "hex": "#165217",
  "rgb": {
    "r": 22,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 121,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.10899,
    "h": 143.3
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#165217
secondary
#893A88
accent
#47DEE1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #165217

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

Preview Lab → · Contrast checker → · Palette generator →

#165217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva