#287F60#287F60

#287F60 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.6% C 0.096 H 165.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#287F60
RGBrgb(40, 127, 96)
HSLhsl(159, 52%, 33%)
HSVhsv(159, 69%, 50%)
CMYKcmyk(68.5%, 0%, 24.4%, 50.2%)
CIE-LABlab(47.59, -33.61, 9.45)
CIE-LCHlch(47.59, 34.92, 164.30°)
OKLaboklab(53.63% -0.0929 0.0242)
OKLCHoklch(53.63% 0.096 165.4)
XYZxyz(10.5746, 16.4732, 13.6864)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F60 #7F2847
analogous
#287F35 #287F60 #28727F
triadic
#287F60 #60287F #7F6028
tetradic
#287F60 #35287F #7F2847 #727F28
square
#287F60 #35287F #7F2847 #727F28
split-complementary
#287F60 #7F2872 #7F3528
monochromatic
#0B221A #19503D #287F60 #37AE83 #57CAA1

Accessibility & contrast

On white

4.89
#287F60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#287F60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F60
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F60#FFFFFF#000000##FFFFFF
##287F601.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C765E
Deuteranopia (green-blind)
#716D62
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287f60;
/* rgb */ color: rgb(40, 127, 96);
/* oklch */ color: oklch(53.6% 0.096 165.4);
Tailwind
colors: {
  custom: {
    50: '#6da58d',
    500: '#287f60',
    950: '#000000',
  },
}
SCSS
$custom: #287f60;
$custom-light: #6da58d;
$custom-dark: #000000;
JSON
{
  "hex": "#287f60",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 96
  },
  "hsl": {
    "h": 158.621,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.09597,
    "h": 165.4
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#287F60
secondary
#AF5474
accent
#4C7FDC
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287F60

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

Preview Lab → · Contrast checker → · Palette generator →

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