#166940#166940

#166940 is a mid, moderate teal. Relative luminance 0.106; OKLCH L 46.2% C 0.102 H 156.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#166940
RGBrgb(22, 105, 64)
HSLhsl(150, 65%, 25%)
HSVhsv(150, 79%, 41%)
CMYKcmyk(79%, 0%, 39%, 58.8%)
CIE-LABlab(38.97, -34.52, 16.33)
CIE-LCHlch(38.97, 38.19, 154.68°)
OKLaboklab(46.21% -0.0933 0.0409)
OKLCHoklch(46.21% 0.102 156.3)
XYZxyz(6.3073, 10.6431, 6.5714)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166940 #69163F
analogous
#166916 #166940 #166969
triadic
#166940 #401669 #694016
tetradic
#166940 #161669 #69163F #696916
square
#166940 #161669 #69163F #696916
split-complementary
#166940 #691669 #691616
monochromatic
#05190F #0B3621 #166940 #219C5F #2BCE7E

Accessibility & contrast

On white

6.71
#166940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#166940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166940
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166940#FFFFFF#000000##FFFFFF
##1669401.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#5E5943
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166940;
/* rgb */ color: rgb(22, 105, 64);
/* oklch */ color: oklch(46.2% 0.102 156.3);
Tailwind
colors: {
  custom: {
    50: '#629575',
    500: '#166940',
    950: '#000000',
  },
}
SCSS
$custom: #166940;
$custom-light: #629575;
$custom-dark: #000000;
JSON
{
  "hex": "#166940",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 150.361,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.10186,
    "h": 156.3
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#166940
secondary
#9F3B6D
accent
#3F93E8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166940

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

Preview Lab → · Contrast checker → · Palette generator →

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