#287D7F#287D7F

#287D7F is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.079 H 197.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#287D7F
RGBrgb(40, 125, 127)
HSLhsl(181, 52%, 33%)
HSVhsv(181, 69%, 50%)
CMYKcmyk(68.5%, 1.6%, 0%, 50.2%)
CIE-LABlab(47.82, -23.97, -8.48)
CIE-LCHlch(47.82, 25.43, 199.49°)
OKLaboklab(54.11% -0.0754 -0.0235)
OKLCHoklch(54.11% 0.079 197.3)
XYZxyz(12.0378, 16.6493, 22.6538)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D7F #7F2A28
analogous
#287F55 #287D7F #28527F
triadic
#287D7F #7F287D #7D7F28
tetradic
#287D7F #55287F #7F2A28 #527F28
square
#287D7F #55287F #7F2A28 #527F28
split-complementary
#287D7F #7F2852 #7F5528
monochromatic
#0B2122 #194F50 #287D7F #37ABAE #57C8CA

Accessibility & contrast

On white

4.85
#287D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#287D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D7F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D7F#FFFFFF#000000##FFFFFF
##287D7F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74777F
Deuteranopia (green-blind)
#676D80
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287d7f;
/* rgb */ color: rgb(40, 125, 127);
/* oklch */ color: oklch(54.1% 0.079 197.3);
Tailwind
colors: {
  custom: {
    50: '#6fa3a4',
    500: '#287d7f',
    950: '#000000',
  },
}
SCSS
$custom: #287d7f;
$custom-light: #6fa3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#287d7f",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 127
  },
  "hsl": {
    "h": 181.379,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.079,
    "h": 197.3
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#287D7F
secondary
#AF5654
accent
#504CDC
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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