#28875E#28875E

#28875E is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.8% C 0.109 H 160.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#28875E
RGBrgb(40, 135, 94)
HSLhsl(154, 54%, 34%)
HSVhsv(154, 70%, 53%)
CMYKcmyk(70.4%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.20, -37.62, 14.25)
CIE-LCHlch(50.20, 40.23, 159.26°)
OKLaboklab(55.76% -0.1027 0.0362)
OKLCHoklch(55.76% 0.109 160.6)
XYZxyz(11.5583, 18.5859, 13.5658)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28875E #872851
analogous
#28872E #28875E #288187
triadic
#28875E #5E2887 #875E28
tetradic
#28875E #2E2887 #872851 #818728
square
#28875E #2E2887 #872851 #818728
split-complementary
#28875E #872881 #872E28
monochromatic
#0C291C #1A583D #28875E #36B67F #5BCE9D

Accessibility & contrast

On white

4.45
#28875E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#28875E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28875E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28875E#FFFFFF#000000##000000
##28875E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D5C
Deuteranopia (green-blind)
#797461
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28875e;
/* rgb */ color: rgb(40, 135, 94);
/* oklch */ color: oklch(55.8% 0.109 160.6);
Tailwind
colors: {
  custom: {
    50: '#6fab8b',
    500: '#28875e',
    950: '#000000',
  },
}
SCSS
$custom: #28875e;
$custom-light: #6fab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#28875e",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 154.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.1089,
    "h": 160.6
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#28875E
secondary
#B4577F
accent
#4A8ADE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #28875E

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

Preview Lab → · Contrast checker → · Palette generator →

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