#408173#408173

#408173 is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.6% C 0.071 H 177.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#408173
RGBrgb(64, 129, 115)
HSLhsl(167, 34%, 38%)
HSVhsv(167, 50%, 51%)
CMYKcmyk(50.4%, 0%, 10.9%, 49.4%)
CIE-LABlab(49.53, -24.46, 1.20)
CIE-LCHlch(49.53, 24.49, 177.18°)
OKLaboklab(55.6% -0.0707 0.0028)
OKLCHoklch(55.6% 0.071 177.7)
XYZxyz(13.0578, 18.0272, 19.0078)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408173 #81404E
analogous
#408152 #408173 #406E81
triadic
#408173 #734081 #817340
tetradic
#408173 #524081 #81404E #6E8140
square
#408173 #524081 #81404E #6E8140
split-complementary
#408173 #81406E #815240
monochromatic
#172F2A #2C584F #408173 #54AA97 #7DBEB0

Accessibility & contrast

On white

4.56
#408173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#408173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408173
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408173#FFFFFF#000000##000000
##4081731.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A72
Deuteranopia (green-blind)
#727374
Tritanopia (blue-blind)
#23837D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408173;
/* rgb */ color: rgb(64, 129, 115);
/* oklch */ color: oklch(55.6% 0.071 177.7);
Tailwind
colors: {
  custom: {
    50: '#7aa69b',
    500: '#408173',
    950: '#000000',
  },
}
SCSS
$custom: #408173;
$custom-light: #7aa69b;
$custom-dark: #000000;
JSON
{
  "hex": "#408173",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 167.077,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.07072,
    "h": 177.7
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#408173
secondary
#A9747F
accent
#5E75CA
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #408173

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

Preview Lab → · Contrast checker → · Palette generator →

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