#28A787#28A787

#28A787 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.3% C 0.117 H 171.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#28A787
RGBrgb(40, 167, 135)
HSLhsl(165, 61%, 41%)
HSVhsv(165, 76%, 65%)
CMYKcmyk(76%, 0%, 19.2%, 34.5%)
CIE-LABlab(61.51, -41.42, 6.96)
CIE-LCHlch(61.51, 42.00, 170.46°)
OKLaboklab(65.35% -0.116 0.0177)
OKLCHoklch(65.35% 0.117 171.3)
XYZxyz(19.0646, 29.8355, 27.6710)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A787 #A72848
analogous
#28A747 #28A787 #2887A7
triadic
#28A787 #8728A7 #A78728
tetradic
#28A787 #4728A7 #A72848 #87A728
square
#28A787 #4728A7 #A72848 #87A728
split-complementary
#28A787 #A72887 #A74728
monochromatic
#104437 #1C765F #28A787 #3CD0AB #6DDCC0

Accessibility & contrast

On white

3.01
#28A787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#28A787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A787
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A787#FFFFFF#000000##000000
##28A7871.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29C85
Deuteranopia (green-blind)
#919089
Tritanopia (blue-blind)
#00A89E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #28a787;
/* rgb */ color: rgb(40, 167, 135);
/* oklch */ color: oklch(65.3% 0.117 171.3);
Tailwind
colors: {
  custom: {
    50: '#76c2aa',
    500: '#28a787',
    950: '#000000',
  },
}
SCSS
$custom: #28a787;
$custom-light: #76c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#28a787",
  "rgb": {
    "r": 40,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 164.882,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65349,
    "c": 0.11737,
    "h": 171.3
  },
  "luminance": 0.29838
}

Semantic roles & 50–950 ramp

primary
#28A787
secondary
#C3687F
accent
#436CE4
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #28A787

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

Preview Lab → · Contrast checker → · Palette generator →

#28A787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva