#28704D#28704D

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

Color values

HEX#28704D
RGBrgb(40, 112, 77)
HSLhsl(151, 47%, 30%)
HSVhsv(151, 64%, 44%)
CMYKcmyk(64.3%, 0%, 31.2%, 56.1%)
CIE-LABlab(42.12, -31.30, 13.00)
CIE-LCHlch(42.12, 33.89, 157.45°)
OKLaboklab(49.01% -0.0854 0.033)
OKLCHoklch(49.01% 0.092 158.9)
XYZxyz(8.0081, 12.5745, 9.0248)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28704D #70284B
analogous
#287029 #28704D #286F70
triadic
#28704D #4D2870 #704D28
tetradic
#28704D #292870 #70284B #6F7028
square
#28704D #292870 #70284B #6F7028
split-complementary
#28704D #70286F #702928
monochromatic
#081710 #18432E #28704D #389D6C #51C18B

Accessibility & contrast

On white

5.97
#28704D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#28704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28704D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28704D#FFFFFF#000000##FFFFFF
##28704D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684B
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#036F67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28704d;
/* rgb */ color: rgb(40, 112, 77);
/* oklch */ color: oklch(49.0% 0.092 158.9);
Tailwind
colors: {
  custom: {
    50: '#6a9a7f',
    500: '#28704d',
    950: '#000000',
  },
}
SCSS
$custom: #28704d;
$custom-light: #6a9a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28704d",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 150.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.0916,
    "h": 158.9
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#28704D
secondary
#A25179
accent
#5192D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28704D

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

Preview Lab → · Contrast checker → · Palette generator →

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