#28786F#28786F

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

Color values

HEX#28786F
RGBrgb(40, 120, 111)
HSLhsl(173, 50%, 31%)
HSVhsv(173, 67%, 47%)
CMYKcmyk(66.7%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.68, -26.24, -2.16)
CIE-LCHlch(45.68, 26.33, 184.72°)
OKLaboklab(52.21% -0.0775 -0.0063)
OKLCHoklch(52.21% 0.078 184.6)
XYZxyz(10.4595, 15.0306, 17.3858)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28786F #782831
analogous
#287847 #28786F #285978
triadic
#28786F #6F2878 #786F28
tetradic
#28786F #472878 #782831 #597828
square
#28786F #472878 #782831 #597828
split-complementary
#28786F #782859 #784728
monochromatic
#091C1A #194A45 #28786F #37A699 #54C6B9

Accessibility & contrast

On white

5.24
#28786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#28786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28786F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28786F#FFFFFF#000000##FFFFFF
##28786F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#666870
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #28786f;
/* rgb */ color: rgb(40, 120, 111);
/* oklch */ color: oklch(52.2% 0.078 184.6);
Tailwind
colors: {
  custom: {
    50: '#6d9f98',
    500: '#28786f',
    950: '#000000',
  },
}
SCSS
$custom: #28786f;
$custom-light: #6d9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#28786f",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52206,
    "c": 0.07771,
    "h": 184.6
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#28786F
secondary
#AA525C
accent
#4E5EDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #28786F

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

Preview Lab → · Contrast checker → · Palette generator →

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