#287F70#287F70

#287F70 is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.1% C 0.085 H 179.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#287F70
RGBrgb(40, 127, 112)
HSLhsl(170, 52%, 33%)
HSVhsv(170, 69%, 50%)
CMYKcmyk(68.5%, 0%, 11.8%, 50.2%)
CIE-LABlab(48.01, -29.39, 0.65)
CIE-LCHlch(48.01, 29.40, 178.73°)
OKLaboklab(54.11% -0.0848 0.0013)
OKLCHoklch(54.11% 0.085 179.1)
XYZxyz(11.3877, 16.7984, 17.9684)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F70 #7F2837
analogous
#287F44 #287F70 #28637F
triadic
#287F70 #70287F #7F7028
tetradic
#287F70 #44287F #7F2837 #637F28
square
#287F70 #44287F #7F2837 #637F28
split-complementary
#287F70 #7F2863 #7F4428
monochromatic
#0B221E #195047 #287F70 #37AE99 #57CAB6

Accessibility & contrast

On white

4.82
#287F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#287F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F70
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F70#FFFFFF#000000##FFFFFF
##287F701.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776F
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287f70;
/* rgb */ color: rgb(40, 127, 112);
/* oklch */ color: oklch(54.1% 0.085 179.1);
Tailwind
colors: {
  custom: {
    50: '#6ea499',
    500: '#287f70',
    950: '#000000',
  },
}
SCSS
$custom: #287f70;
$custom-light: #6ea499;
$custom-dark: #000000;
JSON
{
  "hex": "#287f70",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 112
  },
  "hsl": {
    "h": 169.655,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.08485,
    "h": 179.1
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#287F70
secondary
#AF5463
accent
#4C65DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #287F70

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

Preview Lab → · Contrast checker → · Palette generator →

#287F70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva