#28877E#28877E

#28877E is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.087 H 185.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#28877E
RGBrgb(40, 135, 126)
HSLhsl(174, 54%, 34%)
HSVhsv(174, 70%, 53%)
CMYKcmyk(70.4%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.02, -29.27, -3.14)
CIE-LCHlch(51.02, 29.43, 186.12°)
OKLaboklab(56.7% -0.0868 -0.009)
OKLCHoklch(56.7% 0.087 185.9)
XYZxyz(13.3032, 19.2839, 22.7557)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28877E #872831
analogous
#28874F #28877E #286187
triadic
#28877E #7E2887 #877E28
tetradic
#28877E #4F2887 #872831 #618728
square
#28877E #4F2887 #872831 #618728
split-complementary
#28877E #872861 #874F28
monochromatic
#0C2926 #1A5852 #28877E #36B6AA #5BCEC3

Accessibility & contrast

On white

4.32
#28877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#28877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28877E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28877E#FFFFFF#000000##000000
##28877E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#72757F
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #28877e;
/* rgb */ color: rgb(40, 135, 126);
/* oklch */ color: oklch(56.7% 0.087 185.9);
Tailwind
colors: {
  custom: {
    50: '#70aaa3',
    500: '#28877e',
    950: '#000000',
  },
}
SCSS
$custom: #28877e;
$custom-light: #70aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#28877e",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 174.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.08727,
    "h": 185.9
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#28877E
secondary
#B45760
accent
#4A58DE
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #28877E

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

Preview Lab → · Contrast checker → · Palette generator →

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