#407E66#407E66

#407E66 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.075 H 166.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407E66
RGBrgb(64, 126, 102)
HSLhsl(157, 33%, 37%)
HSVhsv(157, 49%, 49%)
CMYKcmyk(49.2%, 0%, 19%, 50.6%)
CIE-LABlab(48.22, -26.18, 6.95)
CIE-LCHlch(48.22, 27.09, 165.13°)
OKLaboklab(54.43% -0.0732 0.0178)
OKLCHoklch(54.43% 0.075 166.3)
XYZxyz(11.9724, 16.9701, 15.2124)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E66 #7E4058
analogous
#407E47 #407E66 #40777E
triadic
#407E66 #66407E #7E6640
tetradic
#407E66 #47407E #7E4058 #777E40
square
#407E66 #47407E #7E4058 #777E40
split-complementary
#407E66 #7E4077 #7E4740
monochromatic
#172D24 #2B5545 #407E66 #55A787 #7CBCA3

Accessibility & contrast

On white

4.78
#407E66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#407E66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E66
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E66#FFFFFF#000000##FFFFFF
##407E661.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7765
Deuteranopia (green-blind)
#727068
Tritanopia (blue-blind)
#2B7E77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407e66;
/* rgb */ color: rgb(64, 126, 102);
/* oklch */ color: oklch(54.4% 0.075 166.3);
Tailwind
colors: {
  custom: {
    50: '#79a491',
    500: '#407e66',
    950: '#000000',
  },
}
SCSS
$custom: #407e66;
$custom-light: #79a491;
$custom-dark: #000000;
JSON
{
  "hex": "#407e66",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 102
  },
  "hsl": {
    "h": 156.774,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.07538,
    "h": 166.3
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#407E66
secondary
#A77387
accent
#5F88C9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#090F0C
muted
#7B7F7D

Preview Lab

Preview with #407E66

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

Preview Lab → · Contrast checker → · Palette generator →

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