#28875C#28875C

#28875C is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.7% C 0.111 H 159.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#28875C
RGBrgb(40, 135, 92)
HSLhsl(153, 54%, 34%)
HSVhsv(153, 70%, 53%)
CMYKcmyk(70.4%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.16, -38.08, 15.33)
CIE-LCHlch(50.16, 41.05, 158.07°)
OKLaboklab(55.71% -0.1037 0.0389)
OKLCHoklch(55.71% 0.111 159.5)
XYZxyz(11.4697, 18.5505, 13.0993)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28875C #872853
analogous
#28872C #28875C #288387
triadic
#28875C #5C2887 #875C28
tetradic
#28875C #2C2887 #872853 #838728
square
#28875C #2C2887 #872853 #838728
split-complementary
#28875C #872883 #872C28
monochromatic
#0C291C #1A583C #28875C #36B67C #5BCE9A

Accessibility & contrast

On white

4.46
#28875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#28875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28875C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28875C#FFFFFF#000000##000000
##28875C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857D59
Deuteranopia (green-blind)
#79745F
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28875c;
/* rgb */ color: rgb(40, 135, 92);
/* oklch */ color: oklch(55.7% 0.111 159.5);
Tailwind
colors: {
  custom: {
    50: '#6fab8a',
    500: '#28875c',
    950: '#000000',
  },
}
SCSS
$custom: #28875c;
$custom-light: #6fab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#28875c",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 152.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.11075,
    "h": 159.5
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#28875C
secondary
#B45781
accent
#4A8DDE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #28875C

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

Preview Lab → · Contrast checker → · Palette generator →

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