#28704F#28704F

#28704F is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.1% C 0.090 H 160.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#28704F
RGBrgb(40, 112, 79)
HSLhsl(153, 47%, 30%)
HSVhsv(153, 64%, 44%)
CMYKcmyk(64.3%, 0%, 29.5%, 56.1%)
CIE-LABlab(42.16, -30.84, 11.87)
CIE-LCHlch(42.16, 33.04, 158.94°)
OKLaboklab(49.06% -0.0844 0.0302)
OKLCHoklch(49.06% 0.09 160.3)
XYZxyz(8.0798, 12.6032, 9.4025)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28704F #702849
analogous
#28702B #28704F #286D70
triadic
#28704F #4F2870 #704F28
tetradic
#28704F #2B2870 #702849 #6D7028
square
#28704F #2B2870 #702849 #6D7028
split-complementary
#28704F #70286D #702B28
monochromatic
#081710 #18432F #28704F #389D6F #51C18E

Accessibility & contrast

On white

5.96
#28704F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28704F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28704F#FFFFFF#000000##FFFFFF
##28704F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#017067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #28704f;
/* rgb */ color: rgb(40, 112, 79);
/* oklch */ color: oklch(49.1% 0.090 160.3);
Tailwind
colors: {
  custom: {
    50: '#6a9a80',
    500: '#28704f',
    950: '#000000',
  },
}
SCSS
$custom: #28704f;
$custom-light: #6a9a80;
$custom-dark: #000000;
JSON
{
  "hex": "#28704f",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 152.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.08967,
    "h": 160.3
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#28704F
secondary
#A25177
accent
#518ED7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #28704F

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

Preview Lab → · Contrast checker → · Palette generator →

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