#28875F#28875F

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

Color values

HEX#28875F
RGBrgb(40, 135, 95)
HSLhsl(155, 54%, 34%)
HSVhsv(155, 70%, 53%)
CMYKcmyk(70.4%, 0%, 29.6%, 47.1%)
CIE-LABlab(50.22, -37.40, 13.70)
CIE-LCHlch(50.22, 39.83, 159.88°)
OKLaboklab(55.78% -0.1022 0.0349)
OKLCHoklch(55.78% 0.108 161.2)
XYZxyz(11.6034, 18.6040, 13.8037)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28875F #872850
analogous
#288730 #28875F #288087
triadic
#28875F #5F2887 #875F28
tetradic
#28875F #302887 #872850 #808728
square
#28875F #302887 #872850 #808728
split-complementary
#28875F #872880 #873028
monochromatic
#0C291D #1A583E #28875F #36B680 #5BCE9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28875F#FFFFFF#000000##000000
##28875F1.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)
#857D5D
Deuteranopia (green-blind)
#797462
Tritanopia (blue-blind)
#00877C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #28875f;
/* rgb */ color: rgb(40, 135, 95);
/* oklch */ color: oklch(55.8% 0.108 161.2);
Tailwind
colors: {
  custom: {
    50: '#6fab8c',
    500: '#28875f',
    950: '#000000',
  },
}
SCSS
$custom: #28875f;
$custom-light: #6fab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#28875f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 154.737,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.10799,
    "h": 161.2
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#28875F
secondary
#B4577E
accent
#4A88DE
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #28875F

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

Preview Lab → · Contrast checker → · Palette generator →

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