#408170#408170

#408170 is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.5% C 0.072 H 174.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#408170
RGBrgb(64, 129, 112)
HSLhsl(164, 34%, 38%)
HSVhsv(164, 50%, 51%)
CMYKcmyk(50.4%, 0%, 13.2%, 49.4%)
CIE-LABlab(49.45, -25.22, 2.84)
CIE-LCHlch(49.45, 25.38, 173.57°)
OKLaboklab(55.51% -0.0721 0.0071)
OKLCHoklch(55.51% 0.072 174.3)
XYZxyz(12.8880, 17.9593, 18.1134)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408170 #814051
analogous
#40814F #408170 #407181
triadic
#408170 #704081 #817040
tetradic
#408170 #4F4081 #814051 #718140
square
#408170 #4F4081 #814051 #718140
split-complementary
#408170 #814071 #814F40
monochromatic
#172F29 #2C584C #408170 #54AA94 #7DBEAD

Accessibility & contrast

On white

4.57
#408170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#408170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408170
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408170#FFFFFF#000000##000000
##4081701.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A6F
Deuteranopia (green-blind)
#737271
Tritanopia (blue-blind)
#25827C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408170;
/* rgb */ color: rgb(64, 129, 112);
/* oklch */ color: oklch(55.5% 0.072 174.3);
Tailwind
colors: {
  custom: {
    50: '#7aa699',
    500: '#408170',
    950: '#000000',
  },
}
SCSS
$custom: #408170;
$custom-light: #7aa699;
$custom-dark: #000000;
JSON
{
  "hex": "#408170",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 112
  },
  "hsl": {
    "h": 164.308,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.07245,
    "h": 174.3
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#408170
secondary
#A97482
accent
#5E7ACA
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#090F0D
muted
#7B7F7E

Preview Lab

Preview with #408170

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

Preview Lab → · Contrast checker → · Palette generator →

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