#28796E#28796E

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

Color values

HEX#28796E
RGBrgb(40, 121, 110)
HSLhsl(172, 50%, 32%)
HSVhsv(172, 67%, 47%)
CMYKcmyk(66.9%, 0%, 9.1%, 52.5%)
CIE-LABlab(45.98, -27.03, -1.13)
CIE-LCHlch(45.98, 27.05, 182.39°)
OKLaboklab(52.44% -0.0791 -0.0035)
OKLCHoklch(52.44% 0.079 182.5)
XYZxyz(10.5256, 15.2505, 17.1378)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28796E #792833
analogous
#287946 #28796E #285C79
triadic
#28796E #6E2879 #796E28
tetradic
#28796E #462879 #792833 #5C7928
square
#28796E #462879 #792833 #5C7928
split-complementary
#28796E #79285C #794628
monochromatic
#0A1D1A #194B44 #28796E #37A798 #55C7B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28796E#FFFFFF#000000##FFFFFF
##28796E1.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)
#73726E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28796e;
/* rgb */ color: rgb(40, 121, 110);
/* oklch */ color: oklch(52.4% 0.079 182.5);
Tailwind
colors: {
  custom: {
    50: '#6da097',
    500: '#28796e',
    950: '#000000',
  },
}
SCSS
$custom: #28796e;
$custom-light: #6da097;
$custom-dark: #000000;
JSON
{
  "hex": "#28796e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 171.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.07916,
    "h": 182.5
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#28796E
secondary
#AB525E
accent
#4E61DA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #28796E

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

Preview Lab → · Contrast checker → · Palette generator →

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