#798E8B#798E8B

#798E8B is a light, muted teal. Relative luminance 0.253; OKLCH L 62.9% C 0.024 H 186.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#798E8B
RGBrgb(121, 142, 139)
HSLhsl(171, 9%, 52%)
HSVhsv(171, 15%, 56%)
CMYKcmyk(14.8%, 0%, 2.1%, 44.3%)
CIE-LABlab(57.34, -8.13, -0.93)
CIE-LCHlch(57.34, 8.18, 186.50°)
OKLaboklab(62.92% -0.0243 -0.0026)
OKLCHoklch(62.92% 0.024 186.1)
XYZxyz(22.2172, 25.2745, 28.1290)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E8B #8E797C
analogous
#798E81 #798E8B #79878E
triadic
#798E8B #8B798E #8E8B79
tetradic
#798E8B #81798E #8E797C #878E79
square
#798E8B #81798E #8E797C #878E79
split-complementary
#798E8B #8E7987 #8E8179
monochromatic
#404C4B #5C6D6B #798E8B #9AAAA8 #BBC6C4

Accessibility & contrast

On white

3.47
#798E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#798E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E8B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E8B#FFFFFF#000000##000000
##798E8B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8B8B
Deuteranopia (green-blind)
#87888B
Tritanopia (blue-blind)
#748F8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #798e8b;
/* rgb */ color: rgb(121, 142, 139);
/* oklch */ color: oklch(62.9% 0.024 186.1);
Tailwind
colors: {
  custom: {
    50: '#a0afac',
    500: '#798e8b',
    950: '#000000',
  },
}
SCSS
$custom: #798e8b;
$custom-light: #a0afac;
$custom-dark: #000000;
JSON
{
  "hex": "#798e8b",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 139
  },
  "hsl": {
    "h": 171.429,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62921,
    "c": 0.02449,
    "h": 186.1
  },
  "luminance": 0.25275
}

Semantic roles & 50–950 ramp

primary
#798E8B
secondary
#B6ADAE
accent
#767FB2
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E1010
muted
#7E7F7F

Preview Lab

Preview with #798E8B

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

Preview Lab → · Contrast checker → · Palette generator →

#798E8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva