#28705F#28705F

#28705F is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.5% C 0.077 H 174.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#28705F
RGBrgb(40, 112, 95)
HSLhsl(166, 47%, 30%)
HSVhsv(166, 64%, 44%)
CMYKcmyk(64.3%, 0%, 15.2%, 56.1%)
CIE-LABlab(42.56, -26.78, 2.87)
CIE-LCHlch(42.56, 26.93, 173.89°)
OKLaboklab(49.52% -0.0762 0.0072)
OKLCHoklch(49.52% 0.077 174.6)
XYZxyz(8.7338, 12.8648, 12.8471)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28705F #702839
analogous
#28703B #28705F #285D70
triadic
#28705F #5F2870 #705F28
tetradic
#28705F #3B2870 #702839 #5D7028
square
#28705F #3B2870 #702839 #5D7028
split-complementary
#28705F #70285D #703B28
monochromatic
#081713 #184339 #28705F #389D85 #51C1A7

Accessibility & contrast

On white

5.88
#28705F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#28705F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28705F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28705F#FFFFFF#000000##FFFFFF
##28705F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C695E
Deuteranopia (green-blind)
#626160
Tritanopia (blue-blind)
#00716B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #28705f;
/* rgb */ color: rgb(40, 112, 95);
/* oklch */ color: oklch(49.5% 0.077 174.6);
Tailwind
colors: {
  custom: {
    50: '#6b998c',
    500: '#28705f',
    950: '#000000',
  },
}
SCSS
$custom: #28705f;
$custom-light: #6b998c;
$custom-dark: #000000;
JSON
{
  "hex": "#28705f",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 95
  },
  "hsl": {
    "h": 165.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.07654,
    "h": 174.6
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#28705F
secondary
#A25165
accent
#5170D7
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #28705F

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

Preview Lab → · Contrast checker → · Palette generator →

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