#287D56#287D56

#287D56 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.102 H 159.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#287D56
RGBrgb(40, 125, 86)
HSLhsl(152, 52%, 32%)
HSVhsv(152, 68%, 49%)
CMYKcmyk(68%, 0%, 31.2%, 51%)
CIE-LABlab(46.70, -35.09, 14.03)
CIE-LCHlch(46.70, 37.79, 158.21°)
OKLaboklab(52.83% -0.0957 0.0356)
OKLCHoklch(52.83% 0.102 159.6)
XYZxyz(9.8874, 15.7892, 11.3288)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D56 #7D284F
analogous
#287D2C #287D56 #28797D
triadic
#287D56 #56287D #7D5628
tetradic
#287D56 #2C287D #7D284F #797D28
square
#287D56 #2C287D #7D284F #797D28
split-complementary
#287D56 #7D2879 #7D2C28
monochromatic
#0A2016 #194F36 #287D56 #37AB76 #56C994

Accessibility & contrast

On white

5.05
#287D56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#287D56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D56
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D56#FFFFFF#000000##FFFFFF
##287D561.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7354
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d56;
/* rgb */ color: rgb(40, 125, 86);
/* oklch */ color: oklch(52.8% 0.102 159.6);
Tailwind
colors: {
  custom: {
    50: '#6da385',
    500: '#287d56',
    950: '#000000',
  },
}
SCSS
$custom: #287d56;
$custom-light: #6da385;
$custom-dark: #000000;
JSON
{
  "hex": "#287d56",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 86
  },
  "hsl": {
    "h": 152.471,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.10213,
    "h": 159.6
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#287D56
secondary
#AE537D
accent
#4D8EDB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D56

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

Preview Lab → · Contrast checker → · Palette generator →

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