#28795F#28795F

#28795F is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.089 H 168.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#28795F
RGBrgb(40, 121, 95)
HSLhsl(161, 50%, 32%)
HSVhsv(161, 67%, 47%)
CMYKcmyk(66.9%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.57, -31.10, 7.18)
CIE-LCHlch(45.57, 31.92, 167.00°)
OKLaboklab(51.97% -0.0866 0.0184)
OKLCHoklch(51.97% 0.089 168)
XYZxyz(9.7770, 14.9510, 13.1948)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28795F #792842
analogous
#287937 #28795F #286B79
triadic
#28795F #5F2879 #795F28
tetradic
#28795F #372879 #792842 #6B7928
square
#28795F #372879 #792842 #6B7928
split-complementary
#28795F #79286B #793728
monochromatic
#0A1D17 #194B3B #28795F #37A783 #55C7A2

Accessibility & contrast

On white

5.26
#28795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#28795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28795F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28795F#FFFFFF#000000##FFFFFF
##28795F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #28795f;
/* rgb */ color: rgb(40, 121, 95);
/* oklch */ color: oklch(52.0% 0.089 168.0);
Tailwind
colors: {
  custom: {
    50: '#6ca08c',
    500: '#28795f',
    950: '#000000',
  },
}
SCSS
$custom: #28795f;
$custom-light: #6ca08c;
$custom-dark: #000000;
JSON
{
  "hex": "#28795f",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 160.741,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.08855,
    "h": 168
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#28795F
secondary
#AB526E
accent
#4E7BDA
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #28795F

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

Preview Lab → · Contrast checker → · Palette generator →

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