#28877F#28877F

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

Color values

HEX#28877F
RGBrgb(40, 135, 127)
HSLhsl(175, 54%, 34%)
HSVhsv(175, 70%, 53%)
CMYKcmyk(70.4%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.05, -28.98, -3.68)
CIE-LCHlch(51.05, 29.21, 187.24°)
OKLaboklab(56.73% -0.0863 -0.0104)
OKLCHoklch(56.73% 0.087 186.9)
XYZxyz(13.3680, 19.3098, 23.0972)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28877F #872830
analogous
#288750 #28877F #286087
triadic
#28877F #7F2887 #877F28
tetradic
#28877F #502887 #872830 #608728
square
#28877F #502887 #872830 #608728
split-complementary
#28877F #872860 #875028
monochromatic
#0C2926 #1A5853 #28877F #36B6AB #5BCEC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28877F#FFFFFF#000000##000000
##28877F1.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)
#807F7F
Deuteranopia (green-blind)
#727580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #28877f;
/* rgb */ color: rgb(40, 135, 127);
/* oklch */ color: oklch(56.7% 0.087 186.9);
Tailwind
colors: {
  custom: {
    50: '#71aaa4',
    500: '#28877f',
    950: '#000000',
  },
}
SCSS
$custom: #28877f;
$custom-light: #71aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#28877f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56733,
    "c": 0.08696,
    "h": 186.9
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#28877F
secondary
#B4575F
accent
#4A57DE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #28877F

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

Preview Lab → · Contrast checker → · Palette generator →

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