#28917A#28917A

#28917A is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.2% C 0.100 H 174.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#28917A
RGBrgb(40, 145, 122)
HSLhsl(167, 57%, 36%)
HSVhsv(167, 72%, 57%)
CMYKcmyk(72.4%, 0%, 15.9%, 43.1%)
CIE-LABlab(54.14, -35.09, 3.73)
CIE-LCHlch(54.14, 35.28, 173.93°)
OKLaboklab(59.21% -0.0995 0.0093)
OKLCHoklch(59.21% 0.1 174.6)
XYZxyz(14.5115, 22.1054, 21.9105)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28917A #91283F
analogous
#289146 #28917A #287491
triadic
#28917A #7A2891 #917A28
tetradic
#28917A #462891 #91283F #749128
square
#28917A #462891 #91283F #749128
split-complementary
#28917A #912874 #914628
monochromatic
#0E3129 #1B6152 #28917A #35C1A2 #60D3BA

Accessibility & contrast

On white

3.87
#28917A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#28917A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28917A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28917A#FFFFFF#000000##000000
##28917A1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8879
Deuteranopia (green-blind)
#7E7D7C
Tritanopia (blue-blind)
#00938A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #28917a;
/* rgb */ color: rgb(40, 145, 122);
/* oklch */ color: oklch(59.2% 0.100 174.6);
Tailwind
colors: {
  custom: {
    50: '#72b2a0',
    500: '#28917a',
    950: '#000000',
  },
}
SCSS
$custom: #28917a;
$custom-light: #72b2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#28917a",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 122
  },
  "hsl": {
    "h": 166.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.09995,
    "h": 174.6
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#28917A
secondary
#B95C70
accent
#4869E0
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #28917A

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

Preview Lab → · Contrast checker → · Palette generator →

#28917A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva