#407D71#407D71

#407D71 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.067 H 179.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407D71
RGBrgb(64, 125, 113)
HSLhsl(168, 32%, 37%)
HSVhsv(168, 49%, 49%)
CMYKcmyk(48.8%, 0%, 9.6%, 51%)
CIE-LABlab(48.20, -22.93, 0.44)
CIE-LCHlch(48.20, 22.93, 178.91°)
OKLaboklab(54.5% -0.0666 0.0008)
OKLCHoklch(54.5% 0.067 179.3)
XYZxyz(12.4274, 16.9485, 18.2361)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D71 #7D404C
analogous
#407D53 #407D71 #406B7D
triadic
#407D71 #71407D #7D7140
tetradic
#407D71 #53407D #7D404C #6B7D40
square
#407D71 #53407D #7D404C #6B7D40
split-complementary
#407D71 #7D406B #7D5340
monochromatic
#172C28 #2B554C #407D71 #55A596 #7CBCAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407D71#FFFFFF#000000##FFFFFF
##407D711.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)
#797771
Deuteranopia (green-blind)
#6F6F72
Tritanopia (blue-blind)
#267F79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407d71;
/* rgb */ color: rgb(64, 125, 113);
/* oklch */ color: oklch(54.5% 0.067 179.3);
Tailwind
colors: {
  custom: {
    50: '#79a399',
    500: '#407d71',
    950: '#000000',
  },
}
SCSS
$custom: #407d71;
$custom-light: #79a399;
$custom-dark: #000000;
JSON
{
  "hex": "#407d71",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 113
  },
  "hsl": {
    "h": 168.197,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.06663,
    "h": 179.3
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#407D71
secondary
#A6737D
accent
#5F74C8
background
#F7FAF9
surface
#EEF3F2
border
#C9CDCC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #407D71

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

Preview Lab → · Contrast checker → · Palette generator →

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