#28796F#28796F

#28796F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.079 H 183.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#28796F
RGBrgb(40, 121, 111)
HSLhsl(173, 50%, 32%)
HSVhsv(173, 67%, 47%)
CMYKcmyk(66.9%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.01, -26.74, -1.68)
CIE-LCHlch(46.01, 26.79, 183.60°)
OKLaboklab(52.47% -0.0786 -0.005)
OKLCHoklch(52.47% 0.079 183.6)
XYZxyz(10.5804, 15.2724, 17.4261)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28796F #792832
analogous
#287947 #28796F #285B79
triadic
#28796F #6F2879 #796F28
tetradic
#28796F #472879 #792832 #5B7928
square
#28796F #472879 #792832 #5B7928
split-complementary
#28796F #79285B #794728
monochromatic
#0A1D1B #194B45 #28796F #37A799 #55C7B9

Accessibility & contrast

On white

5.18
#28796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#28796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28796F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28796F#FFFFFF#000000##FFFFFF
##28796F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28796f;
/* rgb */ color: rgb(40, 121, 111);
/* oklch */ color: oklch(52.5% 0.079 183.6);
Tailwind
colors: {
  custom: {
    50: '#6da098',
    500: '#28796f',
    950: '#000000',
  },
}
SCSS
$custom: #28796f;
$custom-light: #6da098;
$custom-dark: #000000;
JSON
{
  "hex": "#28796f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172.593,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.07875,
    "h": 183.6
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#28796F
secondary
#AB525D
accent
#4E5FDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #28796F

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

Preview Lab → · Contrast checker → · Palette generator →

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