#28987D#28987D

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

Color values

HEX#28987D
RGBrgb(40, 152, 125)
HSLhsl(166, 58%, 38%)
HSVhsv(166, 74%, 60%)
CMYKcmyk(73.7%, 0%, 17.8%, 40.4%)
CIE-LABlab(56.47, -37.44, 5.37)
CIE-LCHlch(56.47, 37.83, 171.83°)
OKLaboklab(61.14% -0.1054 0.0136)
OKLCHoklch(61.14% 0.106 172.6)
XYZxyz(15.8031, 24.3864, 23.2722)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28987D #982843
analogous
#289845 #28987D #287B98
triadic
#28987D #7D2898 #987D28
tetradic
#28987D #452898 #982843 #7B9828
square
#28987D #452898 #982843 #7B9828
split-complementary
#28987D #98287B #984528
monochromatic
#0F372D #1B6855 #28987D #35C8A5 #64D6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28987D#FFFFFF#000000##000000
##28987D1.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)
#938E7C
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #28987d;
/* rgb */ color: rgb(40, 152, 125);
/* oklch */ color: oklch(61.1% 0.106 172.6);
Tailwind
colors: {
  custom: {
    50: '#73b7a2',
    500: '#28987d',
    950: '#000000',
  },
}
SCSS
$custom: #28987d;
$custom-light: #73b7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#28987d",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 165.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.10631,
    "h": 172.6
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#28987D
secondary
#BC6076
accent
#466CE2
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #28987D

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

Preview Lab → · Contrast checker → · Palette generator →

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