#287F6F#287F6F

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

Color values

HEX#287F6F
RGBrgb(40, 127, 111)
HSLhsl(169, 52%, 33%)
HSVhsv(169, 69%, 50%)
CMYKcmyk(68.5%, 0%, 12.6%, 50.2%)
CIE-LABlab(47.98, -29.67, 1.20)
CIE-LCHlch(47.98, 29.70, 177.68°)
OKLaboklab(54.08% -0.0853 0.0027)
OKLCHoklch(54.08% 0.085 178.2)
XYZxyz(11.3323, 16.7763, 17.6768)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F6F #7F2838
analogous
#287F44 #287F6F #28637F
triadic
#287F6F #6F287F #7F6F28
tetradic
#287F6F #44287F #7F2838 #637F28
square
#287F6F #44287F #7F2838 #637F28
split-complementary
#287F6F #7F2863 #7F4428
monochromatic
#0B221E #195046 #287F6F #37AE98 #57CAB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287F6F#FFFFFF#000000##FFFFFF
##287F6F1.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)
#7A776E
Deuteranopia (green-blind)
#6D6E70
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287f6f;
/* rgb */ color: rgb(40, 127, 111);
/* oklch */ color: oklch(54.1% 0.085 178.2);
Tailwind
colors: {
  custom: {
    50: '#6ea498',
    500: '#287f6f',
    950: '#000000',
  },
}
SCSS
$custom: #287f6f;
$custom-light: #6ea498;
$custom-dark: #000000;
JSON
{
  "hex": "#287f6f",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 111
  },
  "hsl": {
    "h": 168.966,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.08538,
    "h": 178.2
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#287F6F
secondary
#AF5464
accent
#4C67DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #287F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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