#28987A#28987A

#28987A is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.108 H 170.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#28987A
RGBrgb(40, 152, 122)
HSLhsl(164, 58%, 38%)
HSVhsv(164, 74%, 60%)
CMYKcmyk(73.7%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.40, -38.22, 6.97)
CIE-LCHlch(56.40, 38.85, 169.66°)
OKLaboklab(61.06% -0.1069 0.0178)
OKLCHoklch(61.06% 0.108 170.6)
XYZxyz(15.6143, 24.3109, 22.2781)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28987A #982846
analogous
#289842 #28987A #287E98
triadic
#28987A #7A2898 #987A28
tetradic
#28987A #422898 #982846 #7E9828
square
#28987A #422898 #982846 #7E9828
split-complementary
#28987A #98287E #984228
monochromatic
#0F372C #1B6853 #28987A #35C8A1 #64D6B8

Accessibility & contrast

On white

3.58
#28987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#28987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28987A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28987A#FFFFFF#000000##000000
##28987A1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E79
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #28987a;
/* rgb */ color: rgb(40, 152, 122);
/* oklch */ color: oklch(61.1% 0.108 170.6);
Tailwind
colors: {
  custom: {
    50: '#73b7a0',
    500: '#28987a',
    950: '#000000',
  },
}
SCSS
$custom: #28987a;
$custom-light: #73b7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#28987a",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 163.929,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.10837,
    "h": 170.6
  },
  "luminance": 0.24313
}

Semantic roles & 50–950 ramp

primary
#28987A
secondary
#BC6078
accent
#4670E2
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #28987A

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

Preview Lab → · Contrast checker → · Palette generator →

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