#28875B#28875B

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

Color values

HEX#28875B
RGBrgb(40, 135, 91)
HSLhsl(152, 54%, 34%)
HSVhsv(152, 70%, 53%)
CMYKcmyk(70.4%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.14, -38.30, 15.87)
CIE-LCHlch(50.14, 41.46, 157.49°)
OKLaboklab(55.69% -0.1042 0.0402)
OKLCHoklch(55.69% 0.112 158.9)
XYZxyz(11.4263, 18.5331, 12.8706)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28875B #872854
analogous
#28872C #28875B #288487
triadic
#28875B #5B2887 #875B28
tetradic
#28875B #2C2887 #872854 #848728
square
#28875B #2C2887 #872854 #848728
split-complementary
#28875B #872884 #872C28
monochromatic
#0C291B #1A583B #28875B #36B67B #5BCE99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28875B#FFFFFF#000000##000000
##28875B1.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)
#867C58
Deuteranopia (green-blind)
#79745E
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28875b;
/* rgb */ color: rgb(40, 135, 91);
/* oklch */ color: oklch(55.7% 0.112 158.9);
Tailwind
colors: {
  custom: {
    50: '#6fab89',
    500: '#28875b',
    950: '#000000',
  },
}
SCSS
$custom: #28875b;
$custom-light: #6fab89;
$custom-dark: #000000;
JSON
{
  "hex": "#28875b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 152.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.11169,
    "h": 158.9
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#28875B
secondary
#B45782
accent
#4A8EDE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #28875B

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

Preview Lab → · Contrast checker → · Palette generator →

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