#28997F#28997F

#28997F is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.5% C 0.106 H 173.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#28997F
RGBrgb(40, 153, 127)
HSLhsl(166, 59%, 38%)
HSVhsv(166, 74%, 60%)
CMYKcmyk(73.9%, 0%, 17%, 40%)
CIE-LABlab(56.84, -37.36, 4.77)
CIE-LCHlch(56.84, 37.67, 172.72°)
OKLaboklab(61.46% -0.1055 0.012)
OKLCHoklch(61.46% 0.106 173.5)
XYZxyz(16.0951, 24.7640, 24.0062)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28997F #992842
analogous
#289947 #28997F #287A99
triadic
#28997F #7F2899 #997F28
tetradic
#28997F #472899 #992842 #7A9928
square
#28997F #472899 #992842 #7A9928
split-complementary
#28997F #99287A #994728
monochromatic
#0F382E #1B6857 #28997F #35CAA7 #65D7BC

Accessibility & contrast

On white

3.53
#28997F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#28997F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28997F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28997F#FFFFFF#000000##000000
##28997F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7E
Deuteranopia (green-blind)
#858481
Tritanopia (blue-blind)
#009B91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #28997f;
/* rgb */ color: rgb(40, 153, 127);
/* oklch */ color: oklch(61.5% 0.106 173.5);
Tailwind
colors: {
  custom: {
    50: '#73b8a4',
    500: '#28997f',
    950: '#000000',
  },
}
SCSS
$custom: #28997f;
$custom-light: #73b8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#28997f",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 166.195,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.10618,
    "h": 173.5
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#28997F
secondary
#BD6075
accent
#466AE2
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #28997F

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

Preview Lab → · Contrast checker → · Palette generator →

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