#28745F#28745F

#28745F is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.6% C 0.082 H 171.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#28745F
RGBrgb(40, 116, 95)
HSLhsl(163, 49%, 31%)
HSVhsv(163, 66%, 45%)
CMYKcmyk(65.5%, 0%, 18.1%, 54.5%)
CIE-LABlab(43.90, -28.73, 4.80)
CIE-LCHlch(43.90, 29.13, 170.52°)
OKLaboklab(50.61% -0.0809 0.0122)
OKLCHoklch(50.61% 0.082 171.4)
XYZxyz(9.1850, 13.7672, 12.9975)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28745F #74283D
analogous
#287439 #28745F #286374
triadic
#28745F #5F2874 #745F28
tetradic
#28745F #392874 #74283D #637428
square
#28745F #392874 #74283D #637428
split-complementary
#28745F #742863 #743928
monochromatic
#091914 #18463A #28745F #38A284 #53C4A4

Accessibility & contrast

On white

5.59
#28745F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#28745F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28745F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28745F#FFFFFF#000000##FFFFFF
##28745F1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716C5E
Deuteranopia (green-blind)
#666560
Tritanopia (blue-blind)
#00756E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #28745f;
/* rgb */ color: rgb(40, 116, 95);
/* oklch */ color: oklch(50.6% 0.082 171.4);
Tailwind
colors: {
  custom: {
    50: '#6b9c8c',
    500: '#28745f',
    950: '#000000',
  },
}
SCSS
$custom: #28745f;
$custom-light: #6b9c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#28745f",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 95
  },
  "hsl": {
    "h": 163.421,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.08179,
    "h": 171.4
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#28745F
secondary
#A65269
accent
#5075D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #28745F

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

Preview Lab → · Contrast checker → · Palette generator →

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