#166842#166842

#166842 is a mid, moderate teal. Relative luminance 0.105; OKLCH L 46.0% C 0.098 H 157.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#166842
RGBrgb(22, 104, 66)
HSLhsl(152, 65%, 25%)
HSVhsv(152, 79%, 41%)
CMYKcmyk(78.8%, 0%, 36.5%, 59.2%)
CIE-LABlab(38.66, -33.65, 14.73)
CIE-LCHlch(38.66, 36.73, 156.36°)
OKLaboklab(45.97% -0.0911 0.0371)
OKLCHoklch(45.97% 0.098 157.9)
XYZxyz(6.2639, 10.4638, 6.8428)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166842 #68163C
analogous
#166819 #166842 #166568
triadic
#166842 #421668 #684216
tetradic
#166842 #191668 #68163C #656816
square
#166842 #191668 #68163C #656816
split-complementary
#166842 #681665 #681916
monochromatic
#051910 #0B3522 #166842 #219B62 #2BCD82

Accessibility & contrast

On white

6.79
#166842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#166842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166842
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166842#FFFFFF#000000##FFFFFF
##1668421.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166842;
/* rgb */ color: rgb(22, 104, 66);
/* oklch */ color: oklch(46.0% 0.098 157.9);
Tailwind
colors: {
  custom: {
    50: '#619476',
    500: '#166842',
    950: '#000000',
  },
}
SCSS
$custom: #166842;
$custom-light: #619476;
$custom-dark: #000000;
JSON
{
  "hex": "#166842",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 66
  },
  "hsl": {
    "h": 152.195,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45965,
    "c": 0.09841,
    "h": 157.9
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#166842
secondary
#9F3B69
accent
#408EE8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166842

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

Preview Lab → · Contrast checker → · Palette generator →

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