#28797A#28797A

#28797A is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.076 H 196.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#28797A
RGBrgb(40, 121, 122)
HSLhsl(181, 51%, 32%)
HSVhsv(181, 67%, 48%)
CMYKcmyk(67.2%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.35, -23.45, -7.71)
CIE-LCHlch(46.35, 24.69, 198.20°)
OKLaboklab(52.87% -0.0733 -0.0214)
OKLCHoklch(52.87% 0.076 196.3)
XYZxyz(11.2237, 15.5298, 20.8146)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28797A #7A2928
analogous
#287A52 #28797A #28507A
triadic
#28797A #7A2879 #797A28
tetradic
#28797A #52287A #7A2928 #507A28
square
#28797A #52287A #7A2928 #507A28
split-complementary
#28797A #7A2850 #7A5228
monochromatic
#0A1E1E #194B4C #28797A #37A7A8 #55C6C7

Accessibility & contrast

On white

5.11
#28797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#28797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28797A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28797A#FFFFFF#000000##FFFFFF
##28797A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #28797a;
/* rgb */ color: rgb(40, 121, 122);
/* oklch */ color: oklch(52.9% 0.076 196.3);
Tailwind
colors: {
  custom: {
    50: '#6ea0a0',
    500: '#28797a',
    950: '#000000',
  },
}
SCSS
$custom: #28797a;
$custom-light: #6ea0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#28797a",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.732,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.07637,
    "h": 196.3
  },
  "luminance": 0.15531
}

Semantic roles & 50–950 ramp

primary
#28797A
secondary
#AC5352
accent
#4F4EDA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #28797A

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

Preview Lab → · Contrast checker → · Palette generator →

#28797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva