#287F6E#287F6E

#287F6E is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.0% C 0.086 H 177.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#287F6E
RGBrgb(40, 127, 110)
HSLhsl(168, 52%, 33%)
HSVhsv(168, 69%, 50%)
CMYKcmyk(68.5%, 0%, 13.4%, 50.2%)
CIE-LABlab(47.95, -29.95, 1.75)
CIE-LCHlch(47.95, 30.00, 176.66°)
OKLaboklab(54.05% -0.0858 0.0042)
OKLCHoklch(54.05% 0.086 177.2)
XYZxyz(11.2776, 16.7544, 17.3884)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F6E #7F2839
analogous
#287F42 #287F6E #28647F
triadic
#287F6E #6E287F #7F6E28
tetradic
#287F6E #42287F #7F2839 #647F28
square
#287F6E #42287F #7F2839 #647F28
split-complementary
#287F6E #7F2864 #7F4228
monochromatic
#0B221D #195046 #287F6E #37AE96 #57CAB4

Accessibility & contrast

On white

4.83
#287F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#287F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F6E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F6E#FFFFFF#000000##FFFFFF
##287F6E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A776D
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287f6e;
/* rgb */ color: rgb(40, 127, 110);
/* oklch */ color: oklch(54.0% 0.086 177.2);
Tailwind
colors: {
  custom: {
    50: '#6ea497',
    500: '#287f6e',
    950: '#000000',
  },
}
SCSS
$custom: #287f6e;
$custom-light: #6ea497;
$custom-dark: #000000;
JSON
{
  "hex": "#287f6e",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 110
  },
  "hsl": {
    "h": 168.276,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.08593,
    "h": 177.2
  },
  "luminance": 0.16756
}

Semantic roles & 50–950 ramp

primary
#287F6E
secondary
#AF5465
accent
#4C68DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #287F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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