#28786E#28786E

#28786E is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.078 H 183.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#28786E
RGBrgb(40, 120, 110)
HSLhsl(173, 50%, 31%)
HSVhsv(173, 67%, 47%)
CMYKcmyk(66.7%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.65, -26.53, -1.61)
CIE-LCHlch(45.65, 26.58, 183.48°)
OKLaboklab(52.17% -0.0779 -0.0048)
OKLCHoklch(52.17% 0.078 183.5)
XYZxyz(10.4047, 15.0087, 17.0975)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28786E #782832
analogous
#287846 #28786E #285A78
triadic
#28786E #6E2878 #786E28
tetradic
#28786E #462878 #782832 #5A7828
square
#28786E #462878 #782832 #5A7828
split-complementary
#28786E #78285A #784628
monochromatic
#091C1A #194A44 #28786E #37A698 #54C6B8

Accessibility & contrast

On white

5.25
#28786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#28786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28786E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28786E#FFFFFF#000000##FFFFFF
##28786E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #28786e;
/* rgb */ color: rgb(40, 120, 110);
/* oklch */ color: oklch(52.2% 0.078 183.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f97',
    500: '#28786e',
    950: '#000000',
  },
}
SCSS
$custom: #28786e;
$custom-light: #6d9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#28786e",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 172.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.0781,
    "h": 183.5
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#28786E
secondary
#AA525D
accent
#4E60DA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #28786E

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

Preview Lab → · Contrast checker → · Palette generator →

#28786E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva