#287F76#287F76

#287F76 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.082 H 185.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#287F76
RGBrgb(40, 127, 118)
HSLhsl(174, 52%, 33%)
HSVhsv(174, 69%, 50%)
CMYKcmyk(68.5%, 0%, 7.1%, 50.2%)
CIE-LABlab(48.18, -27.68, -2.63)
CIE-LCHlch(48.18, 27.80, 185.42°)
OKLaboklab(54.31% -0.0819 -0.0075)
OKLCHoklch(54.31% 0.082 185.3)
XYZxyz(11.7329, 16.9366, 19.7868)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F76 #7F2831
analogous
#287F4A #287F76 #285C7F
triadic
#287F76 #76287F #7F7628
tetradic
#287F76 #4A287F #7F2831 #5C7F28
square
#287F76 #4A287F #7F2831 #5C7F28
split-complementary
#287F76 #7F285C #7F4A28
monochromatic
#0B2220 #19504B #287F76 #37AEA1 #57CABE

Accessibility & contrast

On white

4.79
#287F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#287F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F76
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F76#FFFFFF#000000##FFFFFF
##287F761.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797876
Deuteranopia (green-blind)
#6C6E77
Tritanopia (blue-blind)
#00827C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287f76;
/* rgb */ color: rgb(40, 127, 118);
/* oklch */ color: oklch(54.3% 0.082 185.3);
Tailwind
colors: {
  custom: {
    50: '#6fa49d',
    500: '#287f76',
    950: '#000000',
  },
}
SCSS
$custom: #287f76;
$custom-light: #6fa49d;
$custom-dark: #000000;
JSON
{
  "hex": "#287f76",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 118
  },
  "hsl": {
    "h": 173.793,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54312,
    "c": 0.08225,
    "h": 185.3
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#287F76
secondary
#AF545D
accent
#4C5BDC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #287F76

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

Preview Lab → · Contrast checker → · Palette generator →

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