#28917C#28917C

#28917C is a mid, moderate teal. Relative luminance 0.222; OKLCH L 59.3% C 0.099 H 176.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#28917C
RGBrgb(40, 145, 124)
HSLhsl(168, 57%, 36%)
HSVhsv(168, 72%, 57%)
CMYKcmyk(72.4%, 0%, 14.5%, 43.1%)
CIE-LABlab(54.19, -34.55, 2.66)
CIE-LCHlch(54.19, 34.65, 175.60°)
OKLaboklab(59.27% -0.0985 0.0065)
OKLCHoklch(59.27% 0.099 176.2)
XYZxyz(14.6367, 22.1554, 22.5699)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28917C #91283D
analogous
#289148 #28917C #287291
triadic
#28917C #7C2891 #917C28
tetradic
#28917C #482891 #91283D #729128
square
#28917C #482891 #91283D #729128
split-complementary
#28917C #912872 #914828
monochromatic
#0E312A #1B6153 #28917C #35C1A5 #60D3BC

Accessibility & contrast

On white

3.87
#28917C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#28917C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28917C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28917C#FFFFFF#000000##000000
##28917C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887B
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#00938B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #28917c;
/* rgb */ color: rgb(40, 145, 124);
/* oklch */ color: oklch(59.3% 0.099 176.2);
Tailwind
colors: {
  custom: {
    50: '#72b2a1',
    500: '#28917c',
    950: '#000000',
  },
}
SCSS
$custom: #28917c;
$custom-light: #72b2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28917c",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 124
  },
  "hsl": {
    "h": 168,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.09874,
    "h": 176.2
  },
  "luminance": 0.22157
}

Semantic roles & 50–950 ramp

primary
#28917C
secondary
#B95C6F
accent
#4866E0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110F
muted
#7B807E

Preview Lab

Preview with #28917C

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

Preview Lab → · Contrast checker → · Palette generator →

#28917C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva