#28704C#28704C

#28704C is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.0% C 0.093 H 158.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#28704C
RGBrgb(40, 112, 76)
HSLhsl(150, 47%, 30%)
HSVhsv(150, 64%, 44%)
CMYKcmyk(64.3%, 0%, 32.1%, 56.1%)
CIE-LABlab(42.09, -31.53, 13.56)
CIE-LCHlch(42.09, 34.32, 156.73°)
OKLaboklab(48.98% -0.086 0.0344)
OKLCHoklch(48.98% 0.093 158.2)
XYZxyz(7.9730, 12.5605, 8.8403)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28704C #70284C
analogous
#287028 #28704C #287070
triadic
#28704C #4C2870 #704C28
tetradic
#28704C #282870 #70284C #707028
square
#28704C #282870 #70284C #707028
split-complementary
#28704C #702870 #702828
monochromatic
#08170F #18432D #28704C #389D6B #51C189

Accessibility & contrast

On white

5.98
#28704C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#28704C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28704C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28704C#FFFFFF#000000##FFFFFF
##28704C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F674A
Deuteranopia (green-blind)
#65614E
Tritanopia (blue-blind)
#046F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28704c;
/* rgb */ color: rgb(40, 112, 76);
/* oklch */ color: oklch(49.0% 0.093 158.2);
Tailwind
colors: {
  custom: {
    50: '#6a9a7e',
    500: '#28704c',
    950: '#000000',
  },
}
SCSS
$custom: #28704c;
$custom-light: #6a9a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28704c",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 76
  },
  "hsl": {
    "h": 150,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.09258,
    "h": 158.2
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#28704C
secondary
#A2517A
accent
#5194D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28704C

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

Preview Lab → · Contrast checker → · Palette generator →

#28704C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva