#408271#408271

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

Color values

HEX#408271
RGBrgb(64, 130, 113)
HSLhsl(165, 34%, 38%)
HSVhsv(165, 51%, 51%)
CMYKcmyk(50.8%, 0%, 13.1%, 49%)
CIE-LABlab(49.79, -25.47, 2.76)
CIE-LCHlch(49.79, 25.62, 173.82°)
OKLaboklab(55.79% -0.0728 0.0069)
OKLCHoklch(55.79% 0.073 174.6)
XYZxyz(13.0763, 18.2464, 18.4524)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408271 #824051
analogous
#408250 #408271 #407282
triadic
#408271 #714082 #827140
tetradic
#408271 #504082 #824051 #728240
square
#408271 #504082 #824051 #728240
split-complementary
#408271 #824072 #825040
monochromatic
#18302A #2C594D #408271 #54AB95 #7DBFAE

Accessibility & contrast

On white

4.52
#408271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#408271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #408271
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408271#FFFFFF#000000##000000
##4082711.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#747372
Tritanopia (blue-blind)
#24837D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #408271;
/* rgb */ color: rgb(64, 130, 113);
/* oklch */ color: oklch(55.8% 0.073 174.6);
Tailwind
colors: {
  custom: {
    50: '#7aa699',
    500: '#408271',
    950: '#000000',
  },
}
SCSS
$custom: #408271;
$custom-light: #7aa699;
$custom-dark: #000000;
JSON
{
  "hex": "#408271",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 164.545,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.07318,
    "h": 174.6
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#408271
secondary
#AA7482
accent
#5E7ACA
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #408271

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

Preview Lab → · Contrast checker → · Palette generator →

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