#287A71#287A71

#287A71 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.079 H 184.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#287A71
RGBrgb(40, 122, 113)
HSLhsl(173, 51%, 32%)
HSVhsv(173, 67%, 48%)
CMYKcmyk(67.2%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.39, -26.66, -2.30)
CIE-LCHlch(46.39, 26.76, 184.93°)
OKLaboklab(52.81% -0.0787 -0.0066)
OKLCHoklch(52.81% 0.079 184.8)
XYZxyz(10.8139, 15.5612, 18.0533)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A71 #7A2831
analogous
#287A48 #287A71 #285A7A
triadic
#287A71 #71287A #7A7128
tetradic
#287A71 #48287A #7A2831 #5A7A28
square
#287A71 #48287A #7A2831 #5A7A28
split-complementary
#287A71 #7A285A #7A4828
monochromatic
#0A1E1C #194C46 #287A71 #37A89C #55C7BB

Accessibility & contrast

On white

5.11
#287A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A71
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A71#FFFFFF#000000##FFFFFF
##287A711.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287a71;
/* rgb */ color: rgb(40, 122, 113);
/* oklch */ color: oklch(52.8% 0.079 184.8);
Tailwind
colors: {
  custom: {
    50: '#6da199',
    500: '#287a71',
    950: '#000000',
  },
}
SCSS
$custom: #287a71;
$custom-light: #6da199;
$custom-dark: #000000;
JSON
{
  "hex": "#287a71",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 173.415,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.07902,
    "h": 184.8
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#287A71
secondary
#AC525C
accent
#4E5DDA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #287A71

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

Preview Lab → · Contrast checker → · Palette generator →

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