#28796A#28796A

#28796A is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.081 H 178.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#28796A
RGBrgb(40, 121, 106)
HSLhsl(169, 50%, 32%)
HSVhsv(169, 67%, 47%)
CMYKcmyk(66.9%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.86, -28.16, 1.08)
CIE-LCHlch(45.86, 28.18, 177.81°)
OKLaboklab(52.31% -0.0811 0.0024)
OKLCHoklch(52.31% 0.081 178.3)
XYZxyz(10.3127, 15.1653, 16.0166)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28796A #792837
analogous
#287942 #28796A #286079
triadic
#28796A #6A2879 #796A28
tetradic
#28796A #422879 #792837 #607928
square
#28796A #422879 #792837 #607928
split-complementary
#28796A #792860 #794228
monochromatic
#0A1D19 #194B42 #28796A #37A792 #55C7B2

Accessibility & contrast

On white

5.21
#28796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#28796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28796A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28796A#FFFFFF#000000##FFFFFF
##28796A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747269
Deuteranopia (green-blind)
#68696B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #28796a;
/* rgb */ color: rgb(40, 121, 106);
/* oklch */ color: oklch(52.3% 0.081 178.3);
Tailwind
colors: {
  custom: {
    50: '#6da094',
    500: '#28796a',
    950: '#000000',
  },
}
SCSS
$custom: #28796a;
$custom-light: #6da094;
$custom-dark: #000000;
JSON
{
  "hex": "#28796a",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168.889,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.0811,
    "h": 178.3
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#28796A
secondary
#AB5262
accent
#4E68DA
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #28796A

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

Preview Lab → · Contrast checker → · Palette generator →

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