#28876B#28876B

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

Color values

HEX#28876B
RGBrgb(40, 135, 107)
HSLhsl(162, 54%, 34%)
HSVhsv(162, 70%, 53%)
CMYKcmyk(70.4%, 0%, 20.7%, 47.1%)
CIE-LABlab(50.50, -34.47, 7.17)
CIE-LCHlch(50.50, 35.21, 168.25°)
OKLaboklab(56.1% -0.0962 0.0183)
OKLCHoklch(56.1% 0.098 169.2)
XYZxyz(12.1915, 18.8392, 16.9009)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28876B #872844
analogous
#28873C #28876B #287487
triadic
#28876B #6B2887 #876B28
tetradic
#28876B #3C2887 #872844 #748728
square
#28876B #3C2887 #872844 #748728
split-complementary
#28876B #872874 #873C28
monochromatic
#0C2920 #1A5846 #28876B #36B690 #5BCEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28876B#FFFFFF#000000##000000
##28876B1.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)
#837E6A
Deuteranopia (green-blind)
#76746D
Tritanopia (blue-blind)
#00887F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28876b;
/* rgb */ color: rgb(40, 135, 107);
/* oklch */ color: oklch(56.1% 0.098 169.2);
Tailwind
colors: {
  custom: {
    50: '#6faa95',
    500: '#28876b',
    950: '#000000',
  },
}
SCSS
$custom: #28876b;
$custom-light: #6faa95;
$custom-dark: #000000;
JSON
{
  "hex": "#28876b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 107
  },
  "hsl": {
    "h": 162.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.0979,
    "h": 169.2
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#28876B
secondary
#B45772
accent
#4A76DE
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #28876B

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

Preview Lab → · Contrast checker → · Palette generator →

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