#408179#408179

#408179 is a mid, moderate teal. Relative luminance 0.182; OKLCH L 55.8% C 0.068 H 185.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#408179
RGBrgb(64, 129, 121)
HSLhsl(173, 34%, 38%)
HSVhsv(173, 50%, 51%)
CMYKcmyk(50.4%, 0%, 6.2%, 49.4%)
CIE-LABlab(49.70, -22.87, -2.07)
CIE-LCHlch(49.70, 22.96, 185.16°)
OKLaboklab(55.79% -0.0678 -0.0059)
OKLCHoklch(55.79% 0.068 185)
XYZxyz(13.4144, 18.1698, 20.8857)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408179 #814048
analogous
#408158 #408179 #406981
triadic
#408179 #794081 #817940
tetradic
#408179 #584081 #814048 #698140
square
#408179 #584081 #814048 #698140
split-complementary
#408179 #814069 #815840
monochromatic
#172F2C #2C5853 #408179 #54AA9F #7DBEB6

Accessibility & contrast

On white

4.53
#408179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#408179 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408179
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408179#FFFFFF#000000##000000
##4081791.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B79
Deuteranopia (green-blind)
#71737A
Tritanopia (blue-blind)
#1E837E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408179;
/* rgb */ color: rgb(64, 129, 121);
/* oklch */ color: oklch(55.8% 0.068 185.0);
Tailwind
colors: {
  custom: {
    50: '#7aa69f',
    500: '#408179',
    950: '#000000',
  },
}
SCSS
$custom: #408179;
$custom-light: #7aa69f;
$custom-dark: #000000;
JSON
{
  "hex": "#408179",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 121
  },
  "hsl": {
    "h": 172.615,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.06806,
    "h": 185
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#408179
secondary
#A9747A
accent
#5E6BCA
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0E
muted
#7C7F7E

Preview Lab

Preview with #408179

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

Preview Lab → · Contrast checker → · Palette generator →

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