#166540#166540

#166540 is a mid, moderate teal. Relative luminance 0.098; OKLCH L 45.0% C 0.096 H 157.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#166540
RGBrgb(22, 101, 64)
HSLhsl(152, 64%, 24%)
HSVhsv(152, 78%, 40%)
CMYKcmyk(78.2%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.57, -32.81, 14.44)
CIE-LCHlch(37.57, 35.85, 156.25°)
OKLaboklab(45.05% -0.0889 0.0364)
OKLCHoklch(45.05% 0.096 157.7)
XYZxyz(5.9094, 9.8474, 6.4388)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166540 #65163B
analogous
#166519 #166540 #166365
triadic
#166540 #401665 #654016
tetradic
#166540 #191665 #65163B #636516
square
#166540 #191665 #65163B #636516
split-complementary
#166540 #651663 #651916
monochromatic
#051910 #0B3320 #166540 #219760 #2CCA80

Accessibility & contrast

On white

7.07
#166540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166540
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166540#FFFFFF#000000##FFFFFF
##1665401.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3E
Deuteranopia (green-blind)
#5A5642
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166540;
/* rgb */ color: rgb(22, 101, 64);
/* oklch */ color: oklch(45.0% 0.096 157.7);
Tailwind
colors: {
  custom: {
    50: '#619275',
    500: '#166540',
    950: '#000000',
  },
}
SCSS
$custom: #166540;
$custom-light: #619275;
$custom-dark: #000000;
JSON
{
  "hex": "#166540",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 151.899,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.09605,
    "h": 157.7
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#166540
secondary
#9C3B68
accent
#418FE7
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #166540

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

Preview Lab → · Contrast checker → · Palette generator →

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