#508271#508271

#508271 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.6% C 0.061 H 170.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#508271
RGBrgb(80, 130, 113)
HSLhsl(160, 24%, 41%)
HSVhsv(160, 38%, 51%)
CMYKcmyk(38.5%, 0%, 13.1%, 49%)
CIE-LABlab(50.53, -21.00, 3.91)
CIE-LCHlch(50.53, 21.36, 169.45°)
OKLaboklab(56.59% -0.0597 0.01)
OKLCHoklch(56.59% 0.061 170.5)
XYZxyz(14.2704, 18.8621, 18.5084)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508271 #825061
analogous
#508258 #508271 #507A82
triadic
#508271 #715082 #827150
tetradic
#508271 #585082 #825061 #7A8250
square
#508271 #585082 #825061 #7A8250
split-complementary
#508271 #82507A #825850
monochromatic
#21362F #395C50 #508271 #6BA491 #91BBAD

Accessibility & contrast

On white

4.40
#508271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#508271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508271
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508271#FFFFFF#000000##000000
##5082711.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7C70
Deuteranopia (green-blind)
#777672
Tritanopia (blue-blind)
#42837D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508271;
/* rgb */ color: rgb(80, 130, 113);
/* oklch */ color: oklch(56.6% 0.061 170.5);
Tailwind
colors: {
  custom: {
    50: '#83a699',
    500: '#508271',
    950: '#000000',
  },
}
SCSS
$custom: #508271;
$custom-light: #83a699;
$custom-dark: #000000;
JSON
{
  "hex": "#508271",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 159.6,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.06058,
    "h": 170.5
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#508271
secondary
#A88691
accent
#6886C0
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B0F0E
muted
#7C7F7E

Preview Lab

Preview with #508271

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

Preview Lab → · Contrast checker → · Palette generator →

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