#28795E#28795E

#28795E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.089 H 167.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#28795E
RGBrgb(40, 121, 94)
HSLhsl(160, 50%, 32%)
HSVhsv(160, 67%, 47%)
CMYKcmyk(66.9%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.54, -31.36, 7.73)
CIE-LCHlch(45.54, 32.29, 166.14°)
OKLaboklab(51.94% -0.0871 0.0198)
OKLCHoklch(51.94% 0.089 167.2)
XYZxyz(9.7318, 14.9330, 12.9570)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28795E #792843
analogous
#287936 #28795E #286C79
triadic
#28795E #5E2879 #795E28
tetradic
#28795E #362879 #792843 #6C7928
square
#28795E #362879 #792843 #6C7928
split-complementary
#28795E #79286C #793628
monochromatic
#0A1D17 #194B3A #28795E #37A782 #55C7A1

Accessibility & contrast

On white

5.27
#28795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28795E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28795E#FFFFFF#000000##FFFFFF
##28795E1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715D
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #28795e;
/* rgb */ color: rgb(40, 121, 94);
/* oklch */ color: oklch(51.9% 0.089 167.2);
Tailwind
colors: {
  custom: {
    50: '#6ca08b',
    500: '#28795e',
    950: '#000000',
  },
}
SCSS
$custom: #28795e;
$custom-light: #6ca08b;
$custom-dark: #000000;
JSON
{
  "hex": "#28795e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 160,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.08935,
    "h": 167.2
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#28795E
secondary
#AB5270
accent
#4E7DDA
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #28795E

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

Preview Lab → · Contrast checker → · Palette generator →

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