#28787A#28787A

#28787A is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.076 H 197.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#28787A
RGBrgb(40, 120, 122)
HSLhsl(181, 51%, 32%)
HSVhsv(181, 67%, 48%)
CMYKcmyk(67.2%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.03, -22.94, -8.20)
CIE-LCHlch(46.03, 24.36, 199.67°)
OKLaboklab(52.61% -0.0722 -0.0227)
OKLCHoklch(52.61% 0.076 197.5)
XYZxyz(11.1028, 15.2880, 20.7743)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28787A #7A2A28
analogous
#287A53 #28787A #284F7A
triadic
#28787A #7A2878 #787A28
tetradic
#28787A #53287A #7A2A28 #4F7A28
square
#28787A #53287A #7A2A28 #4F7A28
split-complementary
#28787A #7A284F #7A5328
monochromatic
#0A1D1E #194B4C #28787A #37A5A8 #55C5C7

Accessibility & contrast

On white

5.18
#28787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#28787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28787A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28787A#FFFFFF#000000##FFFFFF
##28787A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70727A
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28787a;
/* rgb */ color: rgb(40, 120, 122);
/* oklch */ color: oklch(52.6% 0.076 197.5);
Tailwind
colors: {
  custom: {
    50: '#6e9fa0',
    500: '#28787a',
    950: '#000000',
  },
}
SCSS
$custom: #28787a;
$custom-light: #6e9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#28787a",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.463,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.07568,
    "h": 197.5
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#28787A
secondary
#AC5452
accent
#514EDA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #28787A

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

Preview Lab → · Contrast checker → · Palette generator →

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