#28987E#28987E

#28987E is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.2% C 0.106 H 173.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#28987E
RGBrgb(40, 152, 126)
HSLhsl(166, 58%, 38%)
HSVhsv(166, 74%, 60%)
CMYKcmyk(73.7%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.50, -37.18, 4.84)
CIE-LCHlch(56.50, 37.49, 172.58°)
OKLaboklab(61.17% -0.1049 0.0122)
OKLCHoklch(61.17% 0.106 173.4)
XYZxyz(15.8673, 24.4121, 23.6104)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28987E #982842
analogous
#289846 #28987E #287A98
triadic
#28987E #7E2898 #987E28
tetradic
#28987E #462898 #982842 #7A9828
square
#28987E #462898 #982842 #7A9828
split-complementary
#28987E #98287A #984628
monochromatic
#0F372E #1B6856 #28987E #35C8A6 #64D6BC

Accessibility & contrast

On white

3.57
#28987E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#28987E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28987E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28987E#FFFFFF#000000##000000
##28987E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #28987e;
/* rgb */ color: rgb(40, 152, 126);
/* oklch */ color: oklch(61.2% 0.106 173.4);
Tailwind
colors: {
  custom: {
    50: '#73b7a3',
    500: '#28987e',
    950: '#000000',
  },
}
SCSS
$custom: #28987e;
$custom-light: #73b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28987e",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 166.071,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.10565,
    "h": 173.4
  },
  "luminance": 0.24414
}

Semantic roles & 50–950 ramp

primary
#28987E
secondary
#BC6075
accent
#466AE2
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #28987E

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

Preview Lab → · Contrast checker → · Palette generator →

#28987E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva