#5FA787#5FA787

#5FA787 is a light, moderate teal. Relative luminance 0.318; OKLCH L 67.2% C 0.088 H 163.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5FA787
RGBrgb(95, 167, 135)
HSLhsl(153, 29%, 51%)
HSVhsv(153, 43%, 65%)
CMYKcmyk(43.1%, 0%, 19.2%, 34.5%)
CIE-LABlab(63.19, -30.18, 9.58)
CIE-LCHlch(63.19, 31.66, 162.39°)
OKLaboklab(67.19% -0.0842 0.0246)
OKLCHoklch(67.19% 0.088 163.7)
XYZxyz(22.9094, 31.8180, 27.8513)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA787 #A75F7F
analogous
#5FA763 #5FA787 #5FA3A7
triadic
#5FA787 #875FA7 #A7875F
tetradic
#5FA787 #635FA7 #A75F7F #A3A75F
square
#5FA787 #635FA7 #A75F7F #A3A75F
split-complementary
#5FA787 #A75FA3 #A7635F
monochromatic
#325A48 #478268 #5FA787 #86BDA5 #AED2C2

Accessibility & contrast

On white

2.85
#5FA787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5FA787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA787
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA787#FFFFFF#000000##000000
##5FA7871.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59E85
Deuteranopia (green-blind)
#999689
Tritanopia (blue-blind)
#4BA79E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fa787;
/* rgb */ color: rgb(95, 167, 135);
/* oklch */ color: oklch(67.2% 0.088 163.7);
Tailwind
colors: {
  custom: {
    50: '#90c1aa',
    500: '#5fa787',
    950: '#000000',
  },
}
SCSS
$custom: #5fa787;
$custom-light: #90c1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa787",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 153.333,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.08769,
    "h": 163.7
  },
  "luminance": 0.3182
}

Semantic roles & 50–950 ramp

primary
#5FA787
secondary
#C1A1AF
accent
#628EC5
background
#F9FBFA
surface
#F1F7F4
border
#CBD0CE
text
#0D1210
muted
#7E817F

Preview Lab

Preview with #5FA787

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

Preview Lab → · Contrast checker → · Palette generator →

#5FA787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva