#5FA798#5FA798

#5FA798 is a light, moderate teal. Relative luminance 0.323; OKLCH L 67.7% C 0.076 H 178.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5FA798
RGBrgb(95, 167, 152)
HSLhsl(168, 29%, 51%)
HSVhsv(168, 43%, 65%)
CMYKcmyk(43.1%, 0%, 9%, 34.5%)
CIE-LABlab(63.62, -26.27, 0.71)
CIE-LCHlch(63.62, 26.28, 178.46°)
OKLaboklab(67.67% -0.0764 0.0015)
OKLCHoklch(67.67% 0.076 178.9)
XYZxyz(24.2033, 32.3355, 34.6657)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA798 #A75F6E
analogous
#5FA774 #5FA798 #5F92A7
triadic
#5FA798 #985FA7 #A7985F
tetradic
#5FA798 #745FA7 #A75F6E #92A75F
square
#5FA798 #745FA7 #A75F6E #92A75F
split-complementary
#5FA798 #A75F92 #A7745F
monochromatic
#325A52 #478275 #5FA798 #86BDB1 #AED2CB

Accessibility & contrast

On white

2.81
#5FA798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5FA798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA798
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA798#FFFFFF#000000##000000
##5FA7981.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29F97
Deuteranopia (green-blind)
#969699
Tritanopia (blue-blind)
#44A9A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fa798;
/* rgb */ color: rgb(95, 167, 152);
/* oklch */ color: oklch(67.7% 0.076 178.9);
Tailwind
colors: {
  custom: {
    50: '#90c1b6',
    500: '#5fa798',
    950: '#000000',
  },
}
SCSS
$custom: #5fa798;
$custom-light: #90c1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa798",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 167.5,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.07637,
    "h": 178.9
  },
  "luminance": 0.32337
}

Semantic roles & 50–950 ramp

primary
#5FA798
secondary
#C1A1A8
accent
#6277C5
background
#F9FBFB
surface
#F1F7F6
border
#CBD0D0
text
#0D1211
muted
#7E8180

Preview Lab

Preview with #5FA798

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

Preview Lab → · Contrast checker → · Palette generator →

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