#166040#166040

#166040 is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.6% C 0.089 H 159.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#166040
RGBrgb(22, 96, 64)
HSLhsl(154, 63%, 23%)
HSVhsv(154, 77%, 38%)
CMYKcmyk(77.1%, 0%, 33.3%, 62.4%)
CIE-LABlab(35.80, -30.61, 12.03)
CIE-LCHlch(35.80, 32.89, 158.54°)
OKLaboklab(43.6% -0.0833 0.0305)
OKLCHoklch(43.6% 0.089 159.9)
XYZxyz(5.4386, 8.9059, 6.2819)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166040 #601636
analogous
#16601B #166040 #165B60
triadic
#166040 #401660 #604016
tetradic
#166040 #1B1660 #601636 #5B6016
square
#166040 #1B1660 #601636 #5B6016
split-complementary
#166040 #60165B #601B16
monochromatic
#061911 #0B2E1F #166040 #219261 #2DC482

Accessibility & contrast

On white

7.55
#166040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#166040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166040
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166040#FFFFFF#000000##FFFFFF
##1660401.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583E
Deuteranopia (green-blind)
#555242
Tritanopia (blue-blind)
#006058
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166040;
/* rgb */ color: rgb(22, 96, 64);
/* oklch */ color: oklch(43.6% 0.089 159.9);
Tailwind
colors: {
  custom: {
    50: '#5f8e75',
    500: '#166040',
    950: '#000000',
  },
}
SCSS
$custom: #166040;
$custom-light: #5f8e75;
$custom-dark: #000000;
JSON
{
  "hex": "#166040",
  "rgb": {
    "r": 22,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 154.054,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.08872,
    "h": 159.9
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#166040
secondary
#973B63
accent
#4289E6
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #166040

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

Preview Lab → · Contrast checker → · Palette generator →

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