#166542#166542

#166542 is a mid, moderate teal. Relative luminance 0.099; OKLCH L 45.1% C 0.094 H 159.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#166542
RGBrgb(22, 101, 66)
HSLhsl(153, 64%, 24%)
HSVhsv(153, 78%, 40%)
CMYKcmyk(78.2%, 0%, 34.7%, 60.4%)
CIE-LABlab(37.61, -32.35, 13.30)
CIE-LCHlch(37.61, 34.98, 157.65°)
OKLaboklab(45.1% -0.0878 0.0336)
OKLCHoklch(45.1% 0.094 159.1)
XYZxyz(5.9673, 9.8706, 6.7439)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166542 #651639
analogous
#16651B #166542 #166165
triadic
#166542 #421665 #654216
tetradic
#166542 #1B1665 #651639 #616516
square
#166542 #1B1665 #651639 #616516
split-complementary
#166542 #651661 #651B16
monochromatic
#051910 #0B3321 #166542 #219763 #2CCA84

Accessibility & contrast

On white

7.06
#166542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#166542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166542
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166542#FFFFFF#000000##FFFFFF
##1665421.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D40
Deuteranopia (green-blind)
#5A5644
Tritanopia (blue-blind)
#00645C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166542;
/* rgb */ color: rgb(22, 101, 66);
/* oklch */ color: oklch(45.1% 0.094 159.1);
Tailwind
colors: {
  custom: {
    50: '#619276',
    500: '#166542',
    950: '#000000',
  },
}
SCSS
$custom: #166542;
$custom-light: #619276;
$custom-dark: #000000;
JSON
{
  "hex": "#166542",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 66
  },
  "hsl": {
    "h": 153.418,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.09406,
    "h": 159.1
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

primary
#166542
secondary
#9C3B66
accent
#418AE7
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #166542

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

Preview Lab → · Contrast checker → · Palette generator →

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