#5FA987#5FA987

#5FA987 is a light, moderate teal. Relative luminance 0.326; OKLCH L 67.7% C 0.091 H 162.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5FA987
RGBrgb(95, 169, 135)
HSLhsl(152, 30%, 52%)
HSVhsv(152, 44%, 66%)
CMYKcmyk(43.8%, 0%, 20.1%, 33.7%)
CIE-LABlab(63.80, -31.14, 10.44)
CIE-LCHlch(63.80, 32.84, 161.46°)
OKLaboklab(67.68% -0.0866 0.0268)
OKLCHoklch(67.68% 0.091 162.8)
XYZxyz(23.2786, 32.5564, 27.9743)
Luminance0.3256 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA987 #A95F81
analogous
#5FA962 #5FA987 #5FA6A9
triadic
#5FA987 #875FA9 #A9875F
tetradic
#5FA987 #625FA9 #A95F81 #A6A95F
square
#5FA987 #625FA9 #A95F81 #A6A95F
split-complementary
#5FA987 #A95FA6 #A9625F
monochromatic
#325C49 #478468 #5FA987 #87BEA5 #AFD4C3

Accessibility & contrast

On white

2.80
#5FA987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#5FA987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA987
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA987#FFFFFF#000000##000000
##5FA9871.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79F85
Deuteranopia (green-blind)
#9B9789
Tritanopia (blue-blind)
#4BA99F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5fa987;
/* rgb */ color: rgb(95, 169, 135);
/* oklch */ color: oklch(67.7% 0.091 162.8);
Tailwind
colors: {
  custom: {
    50: '#90c3aa',
    500: '#5fa987',
    950: '#000000',
  },
}
SCSS
$custom: #5fa987;
$custom-light: #90c3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa987",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 152.432,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.09067,
    "h": 162.8
  },
  "luminance": 0.32558
}

Semantic roles & 50–950 ramp

primary
#5FA987
secondary
#C2A2B1
accent
#6190C6
background
#F9FCFA
surface
#F1F8F4
border
#CBD1CE
text
#0D1210
muted
#7E817F

Preview Lab

Preview with #5FA987

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

Preview Lab → · Contrast checker → · Palette generator →

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