#287D6F#287D6F

#287D6F is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.5% C 0.083 H 179.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#287D6F
RGBrgb(40, 125, 111)
HSLhsl(170, 52%, 32%)
HSVhsv(170, 68%, 49%)
CMYKcmyk(68%, 0%, 11.2%, 51%)
CIE-LABlab(47.32, -28.70, 0.24)
CIE-LCHlch(47.32, 28.71, 179.51°)
OKLaboklab(53.54% -0.0831 0.0002)
OKLCHoklch(53.54% 0.083 179.9)
XYZxyz(11.0766, 16.2648, 17.5915)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D6F #7D2836
analogous
#287D45 #287D6F #28607D
triadic
#287D6F #6F287D #7D6F28
tetradic
#287D6F #45287D #7D2836 #607D28
square
#287D6F #45287D #7D2836 #607D28
split-complementary
#287D6F #7D2860 #7D4528
monochromatic
#0A201D #194F46 #287D6F #37AB98 #56C9B6

Accessibility & contrast

On white

4.94
#287D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#287D6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D6F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D6F#FFFFFF#000000##FFFFFF
##287D6F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78756E
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#007F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287d6f;
/* rgb */ color: rgb(40, 125, 111);
/* oklch */ color: oklch(53.5% 0.083 179.9);
Tailwind
colors: {
  custom: {
    50: '#6ea398',
    500: '#287d6f',
    950: '#000000',
  },
}
SCSS
$custom: #287d6f;
$custom-light: #6ea398;
$custom-dark: #000000;
JSON
{
  "hex": "#287d6f",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 111
  },
  "hsl": {
    "h": 170.118,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.0831,
    "h": 179.9
  },
  "luminance": 0.16266
}

Semantic roles & 50–950 ramp

primary
#287D6F
secondary
#AE5362
accent
#4D64DB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #287D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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