#166837#166837

#166837 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.110 H 152.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#166837
RGBrgb(22, 104, 55)
HSLhsl(144, 65%, 25%)
HSVhsv(144, 79%, 41%)
CMYKcmyk(78.8%, 0%, 47.1%, 59.2%)
CIE-LABlab(38.46, -35.97, 20.88)
CIE-LCHlch(38.46, 41.59, 149.86°)
OKLaboklab(45.73% -0.0968 0.0514)
OKLCHoklch(45.73% 0.11 152)
XYZxyz(5.9703, 10.3463, 5.2961)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166837 #681647
analogous
#1E6816 #166837 #166860
triadic
#166837 #371668 #683716
tetradic
#166837 #161E68 #681647 #686016
square
#166837 #161E68 #681647 #686016
split-complementary
#166837 #601668 #68161E
monochromatic
#05190D #0B351C #166837 #219B52 #2BCD6C

Accessibility & contrast

On white

6.84
#166837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#166837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166837
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166837#FFFFFF#000000##FFFFFF
##1668371.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F33
Deuteranopia (green-blind)
#5F583A
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166837;
/* rgb */ color: rgb(22, 104, 55);
/* oklch */ color: oklch(45.7% 0.110 152.0);
Tailwind
colors: {
  custom: {
    50: '#61946e',
    500: '#166837',
    950: '#000000',
  },
}
SCSS
$custom: #166837;
$custom-light: #61946e;
$custom-dark: #000000;
JSON
{
  "hex": "#166837",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 55
  },
  "hsl": {
    "h": 144.146,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.10958,
    "h": 152
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#166837
secondary
#9F3B77
accent
#40A4E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166837

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

Preview Lab → · Contrast checker → · Palette generator →

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