#407D6F#407D6F

#407D6F is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.068 H 176.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407D6F
RGBrgb(64, 125, 111)
HSLhsl(166, 32%, 37%)
HSVhsv(166, 49%, 49%)
CMYKcmyk(48.8%, 0%, 11.2%, 51%)
CIE-LABlab(48.14, -23.44, 1.53)
CIE-LCHlch(48.14, 23.49, 176.25°)
OKLaboklab(54.44% -0.0676 0.0037)
OKLCHoklch(54.44% 0.068 176.9)
XYZxyz(12.3160, 16.9039, 17.6496)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D6F #7D404E
analogous
#407D51 #407D6F #406C7D
triadic
#407D6F #6F407D #7D6F40
tetradic
#407D6F #51407D #7D404E #6C7D40
square
#407D6F #51407D #7D404E #6C7D40
split-complementary
#407D6F #7D406C #7D5140
monochromatic
#172C27 #2B554B #407D6F #55A593 #7CBCAD

Accessibility & contrast

On white

4.79
#407D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#407D6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D6F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D6F#FFFFFF#000000##FFFFFF
##407D6F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79776E
Deuteranopia (green-blind)
#6F6F70
Tritanopia (blue-blind)
#277E79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407d6f;
/* rgb */ color: rgb(64, 125, 111);
/* oklch */ color: oklch(54.4% 0.068 176.9);
Tailwind
colors: {
  custom: {
    50: '#79a398',
    500: '#407d6f',
    950: '#000000',
  },
}
SCSS
$custom: #407d6f;
$custom-light: #79a398;
$custom-dark: #000000;
JSON
{
  "hex": "#407d6f",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 111
  },
  "hsl": {
    "h": 166.23,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.06769,
    "h": 176.9
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#407D6F
secondary
#A6737E
accent
#5F77C8
background
#F7FAF9
surface
#EEF3F2
border
#C9CDCC
text
#090F0D
muted
#7B7F7E

Preview Lab

Preview with #407D6F

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

Preview Lab → · Contrast checker → · Palette generator →

#407D6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva