#166836#166836

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

Color values

HEX#166836
RGBrgb(22, 104, 54)
HSLhsl(143, 65%, 25%)
HSVhsv(143, 79%, 41%)
CMYKcmyk(78.8%, 0%, 48.1%, 59.2%)
CIE-LABlab(38.44, -36.16, 21.43)
CIE-LCHlch(38.44, 42.04, 149.34°)
OKLaboklab(45.71% -0.0973 0.0527)
OKLCHoklch(45.71% 0.111 151.6)
XYZxyz(5.9465, 10.3368, 5.1711)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166836 #681648
analogous
#1F6816 #166836 #16685F
triadic
#166836 #361668 #683616
tetradic
#166836 #161F68 #681648 #685F16
square
#166836 #161F68 #681648 #685F16
split-complementary
#166836 #5F1668 #68161F
monochromatic
#05190D #0B351C #166836 #219B50 #2BCD6A

Accessibility & contrast

On white

6.85
#166836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166836
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166836#FFFFFF#000000##FFFFFF
##1668361.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F32
Deuteranopia (green-blind)
#5F5839
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166836;
/* rgb */ color: rgb(22, 104, 54);
/* oklch */ color: oklch(45.7% 0.111 151.6);
Tailwind
colors: {
  custom: {
    50: '#61946e',
    500: '#166836',
    950: '#000000',
  },
}
SCSS
$custom: #166836;
$custom-light: #61946e;
$custom-dark: #000000;
JSON
{
  "hex": "#166836",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 54
  },
  "hsl": {
    "h": 143.415,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.11061,
    "h": 151.6
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#166836
secondary
#9F3B78
accent
#40A6E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166836

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

Preview Lab → · Contrast checker → · Palette generator →

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