#28876C#28876C

#28876C is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.1% C 0.097 H 170.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#28876C
RGBrgb(40, 135, 108)
HSLhsl(163, 54%, 34%)
HSVhsv(163, 70%, 53%)
CMYKcmyk(70.4%, 0%, 20%, 47.1%)
CIE-LABlab(50.52, -34.21, 6.62)
CIE-LCHlch(50.52, 34.85, 169.04°)
OKLaboklab(56.13% -0.0957 0.0169)
OKLCHoklch(56.13% 0.097 170)
XYZxyz(12.2444, 18.8604, 17.1796)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28876C #872843
analogous
#28873C #28876C #287387
triadic
#28876C #6C2887 #876C28
tetradic
#28876C #3C2887 #872843 #738728
square
#28876C #3C2887 #872843 #738728
split-complementary
#28876C #872873 #873C28
monochromatic
#0C2920 #1A5846 #28876C #36B692 #5BCEAE

Accessibility & contrast

On white

4.40
#28876C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#28876C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28876C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28876C#FFFFFF#000000##000000
##28876C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6B
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#00887F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28876c;
/* rgb */ color: rgb(40, 135, 108);
/* oklch */ color: oklch(56.1% 0.097 170.0);
Tailwind
colors: {
  custom: {
    50: '#6faa96',
    500: '#28876c',
    950: '#000000',
  },
}
SCSS
$custom: #28876c;
$custom-light: #6faa96;
$custom-dark: #000000;
JSON
{
  "hex": "#28876c",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 108
  },
  "hsl": {
    "h": 162.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.09715,
    "h": 170
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#28876C
secondary
#B45771
accent
#4A74DE
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #28876C

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

Preview Lab → · Contrast checker → · Palette generator →

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