#407E72#407E72

#407E72 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.067 H 179.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407E72
RGBrgb(64, 126, 114)
HSLhsl(168, 33%, 37%)
HSVhsv(168, 49%, 49%)
CMYKcmyk(49.2%, 0%, 9.5%, 50.6%)
CIE-LABlab(48.54, -23.18, 0.36)
CIE-LCHlch(48.54, 23.18, 179.12°)
OKLaboklab(54.79% -0.0674 0.0006)
OKLCHoklch(54.79% 0.067 179.5)
XYZxyz(12.6112, 17.2256, 18.5766)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407E72 #7E404C
analogous
#407E53 #407E72 #406B7E
triadic
#407E72 #72407E #7E7240
tetradic
#407E72 #53407E #7E404C #6B7E40
square
#407E72 #53407E #7E404C #6B7E40
split-complementary
#407E72 #7E406B #7E5340
monochromatic
#172D29 #2B554D #407E72 #55A797 #7CBCB0

Accessibility & contrast

On white

4.72
#407E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#407E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407E72
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407E72#FFFFFF#000000##FFFFFF
##407E721.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7872
Deuteranopia (green-blind)
#6F7073
Tritanopia (blue-blind)
#25807A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #407e72;
/* rgb */ color: rgb(64, 126, 114);
/* oklch */ color: oklch(54.8% 0.067 179.5);
Tailwind
colors: {
  custom: {
    50: '#79a39a',
    500: '#407e72',
    950: '#000000',
  },
}
SCSS
$custom: #407e72;
$custom-light: #79a39a;
$custom-dark: #000000;
JSON
{
  "hex": "#407e72",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 114
  },
  "hsl": {
    "h": 168.387,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.06741,
    "h": 179.5
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#407E72
secondary
#A7737D
accent
#5F73C9
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #407E72

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

Preview Lab → · Contrast checker → · Palette generator →

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