#28876F#28876F

#28876F is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.095 H 172.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#28876F
RGBrgb(40, 135, 111)
HSLhsl(165, 54%, 34%)
HSVhsv(165, 70%, 53%)
CMYKcmyk(70.4%, 0%, 17.8%, 47.1%)
CIE-LABlab(50.60, -33.43, 4.99)
CIE-LCHlch(50.60, 33.80, 171.51°)
OKLaboklab(56.22% -0.0942 0.0127)
OKLCHoklch(56.22% 0.095 172.3)
XYZxyz(12.4068, 18.9254, 18.0349)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28876F #872840
analogous
#288740 #28876F #287087
triadic
#28876F #6F2887 #876F28
tetradic
#28876F #402887 #872840 #708728
square
#28876F #402887 #872840 #708728
split-complementary
#28876F #872870 #874028
monochromatic
#0C2921 #1A5848 #28876F #36B696 #5BCEB1

Accessibility & contrast

On white

4.39
#28876F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#28876F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28876F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28876F#FFFFFF#000000##000000
##28876F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837E6E
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#008880
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #28876f;
/* rgb */ color: rgb(40, 135, 111);
/* oklch */ color: oklch(56.2% 0.095 172.3);
Tailwind
colors: {
  custom: {
    50: '#6faa98',
    500: '#28876f',
    950: '#000000',
  },
}
SCSS
$custom: #28876f;
$custom-light: #6faa98;
$custom-dark: #000000;
JSON
{
  "hex": "#28876f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 111
  },
  "hsl": {
    "h": 164.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.09502,
    "h": 172.3
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#28876F
secondary
#B4576F
accent
#4A6FDE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #28876F

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

Preview Lab → · Contrast checker → · Palette generator →

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