#166832#166832

#166832 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.115 H 149.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#166832
RGBrgb(22, 104, 50)
HSLhsl(140, 65%, 25%)
HSVhsv(140, 79%, 41%)
CMYKcmyk(78.8%, 0%, 51.9%, 59.2%)
CIE-LABlab(38.38, -36.90, 23.61)
CIE-LCHlch(38.38, 43.81, 147.38°)
OKLaboklab(45.64% -0.0992 0.0574)
OKLCHoklch(45.64% 0.115 149.9)
XYZxyz(5.8564, 10.3008, 4.6966)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166832 #68164C
analogous
#236816 #166832 #16685B
triadic
#166832 #321668 #683216
tetradic
#166832 #162368 #68164C #685B16
square
#166832 #162368 #68164C #685B16
split-complementary
#166832 #5B1668 #681623
monochromatic
#05190C #0B351A #166832 #219B4A #2BCD63

Accessibility & contrast

On white

6.86
#166832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#166832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166832
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166832#FFFFFF#000000##FFFFFF
##1668321.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2E
Deuteranopia (green-blind)
#5F5836
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166832;
/* rgb */ color: rgb(22, 104, 50);
/* oklch */ color: oklch(45.6% 0.115 149.9);
Tailwind
colors: {
  custom: {
    50: '#62946b',
    500: '#166832',
    950: '#000000',
  },
}
SCSS
$custom: #166832;
$custom-light: #62946b;
$custom-dark: #000000;
JSON
{
  "hex": "#166832",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 50
  },
  "hsl": {
    "h": 140.488,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.11463,
    "h": 149.9
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#166832
secondary
#9F3B7D
accent
#40AFE8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166832

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

Preview Lab → · Contrast checker → · Palette generator →

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