#166640#166640

#166640 is a mid, moderate teal. Relative luminance 0.100; OKLCH L 45.3% C 0.098 H 157.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#166640
RGBrgb(22, 102, 64)
HSLhsl(152, 65%, 24%)
HSVhsv(152, 78%, 40%)
CMYKcmyk(78.4%, 0%, 37.3%, 60%)
CIE-LABlab(37.92, -33.25, 14.91)
CIE-LCHlch(37.92, 36.44, 155.84°)
OKLaboklab(45.34% -0.09 0.0375)
OKLCHoklch(45.34% 0.098 157.4)
XYZxyz(6.0071, 10.0428, 6.4714)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166640 #66163C
analogous
#166618 #166640 #166466
triadic
#166640 #401666 #664016
tetradic
#166640 #181666 #66163C #646616
square
#166640 #181666 #66163C #646616
split-complementary
#166640 #661664 #661816
monochromatic
#051910 #0B3420 #166640 #219860 #2CCB7F

Accessibility & contrast

On white

6.98
#166640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#166640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166640
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166640#FFFFFF#000000##FFFFFF
##1666401.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#00655C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166640;
/* rgb */ color: rgb(22, 102, 64);
/* oklch */ color: oklch(45.3% 0.098 157.4);
Tailwind
colors: {
  custom: {
    50: '#619275',
    500: '#166640',
    950: '#000000',
  },
}
SCSS
$custom: #166640;
$custom-light: #619275;
$custom-dark: #000000;
JSON
{
  "hex": "#166640",
  "rgb": {
    "r": 22,
    "g": 102,
    "b": 64
  },
  "hsl": {
    "h": 151.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.09752,
    "h": 157.4
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#166640
secondary
#9D3B69
accent
#4090E8
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166640

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

Preview Lab → · Contrast checker → · Palette generator →

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