#166840#166840

#166840 is a mid, moderate teal. Relative luminance 0.104; OKLCH L 45.9% C 0.100 H 156.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#166840
RGBrgb(22, 104, 64)
HSLhsl(151, 65%, 25%)
HSVhsv(151, 79%, 41%)
CMYKcmyk(78.8%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.62, -34.10, 15.86)
CIE-LCHlch(38.62, 37.61, 155.06°)
OKLaboklab(45.92% -0.0922 0.0398)
OKLCHoklch(45.92% 0.1 156.7)
XYZxyz(6.2060, 10.4406, 6.5377)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166840 #68163E
analogous
#166817 #166840 #166768
triadic
#166840 #401668 #684016
tetradic
#166840 #171668 #68163E #676816
square
#166840 #171668 #68163E #676816
split-complementary
#166840 #681667 #681716
monochromatic
#051910 #0B3521 #166840 #219B5F #2BCD7E

Accessibility & contrast

On white

6.80
#166840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166840
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166840#FFFFFF#000000##FFFFFF
##1668401.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166840;
/* rgb */ color: rgb(22, 104, 64);
/* oklch */ color: oklch(45.9% 0.100 156.7);
Tailwind
colors: {
  custom: {
    50: '#619475',
    500: '#166840',
    950: '#000000',
  },
}
SCSS
$custom: #166840;
$custom-light: #619475;
$custom-dark: #000000;
JSON
{
  "hex": "#166840",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 150.732,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.10042,
    "h": 156.7
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#166840
secondary
#9F3B6C
accent
#4092E8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166840

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

Preview Lab → · Contrast checker → · Palette generator →

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