#28875A#28875A

#28875A is a mid, moderate teal. Relative luminance 0.185; OKLCH L 55.7% C 0.113 H 158.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#28875A
RGBrgb(40, 135, 90)
HSLhsl(152, 54%, 34%)
HSVhsv(152, 70%, 53%)
CMYKcmyk(70.4%, 0%, 33.3%, 47.1%)
CIE-LABlab(50.12, -38.52, 16.42)
CIE-LCHlch(50.12, 41.87, 156.92°)
OKLaboklab(55.66% -0.1047 0.0415)
OKLCHoklch(55.66% 0.113 158.4)
XYZxyz(11.3834, 18.5160, 12.6449)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28875A #872855
analogous
#28872B #28875A #288587
triadic
#28875A #5A2887 #875A28
tetradic
#28875A #2B2887 #872855 #858728
square
#28875A #2B2887 #872855 #858728
split-complementary
#28875A #872885 #872B28
monochromatic
#0C291B #1A583B #28875A #36B679 #5BCE98

Accessibility & contrast

On white

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

On black

4.70
#28875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28875A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28875A#FFFFFF#000000##000000
##28875A1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867C57
Deuteranopia (green-blind)
#7A745D
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28875a;
/* rgb */ color: rgb(40, 135, 90);
/* oklch */ color: oklch(55.7% 0.113 158.4);
Tailwind
colors: {
  custom: {
    50: '#6fab89',
    500: '#28875a',
    950: '#000000',
  },
}
SCSS
$custom: #28875a;
$custom-light: #6fab89;
$custom-dark: #000000;
JSON
{
  "hex": "#28875a",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 151.579,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.11263,
    "h": 158.4
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#28875A
secondary
#B45783
accent
#4A90DE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #28875A

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

Preview Lab → · Contrast checker → · Palette generator →

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