#518271#518271

#518271 is a mid, muted teal. Relative luminance 0.189; OKLCH L 56.6% C 0.060 H 170.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#518271
RGBrgb(81, 130, 113)
HSLhsl(159, 23%, 41%)
HSVhsv(159, 38%, 51%)
CMYKcmyk(37.7%, 0%, 13.1%, 49%)
CIE-LABlab(50.58, -20.70, 3.99)
CIE-LCHlch(50.58, 21.08, 169.09°)
OKLaboklab(56.64% -0.0589 0.0102)
OKLCHoklch(56.64% 0.06 170.1)
XYZxyz(14.3555, 18.9060, 18.5124)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518271 #825162
analogous
#518259 #518271 #517B82
triadic
#518271 #715182 #827151
tetradic
#518271 #595182 #825162 #7B8251
square
#518271 #595182 #825162 #7B8251
split-complementary
#518271 #82517B #825951
monochromatic
#22372F #3A5C50 #518271 #6CA491 #92BBAD

Accessibility & contrast

On white

4.39
#518271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#518271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518271
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518271#FFFFFF#000000##000000
##5182711.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #518271;
/* rgb */ color: rgb(81, 130, 113);
/* oklch */ color: oklch(56.6% 0.060 170.1);
Tailwind
colors: {
  custom: {
    50: '#84a699',
    500: '#518271',
    950: '#000000',
  },
}
SCSS
$custom: #518271;
$custom-light: #84a699;
$custom-dark: #000000;
JSON
{
  "hex": "#518271",
  "rgb": {
    "r": 81,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 159.184,
    "s": 23.223,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.05974,
    "h": 170.1
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #518271

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

Preview Lab → · Contrast checker → · Palette generator →

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