#287D57#287D57

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

Color values

HEX#287D57
RGBrgb(40, 125, 87)
HSLhsl(153, 52%, 32%)
HSVhsv(153, 68%, 49%)
CMYKcmyk(68%, 0%, 30.4%, 51%)
CIE-LABlab(46.72, -34.86, 13.48)
CIE-LCHlch(46.72, 37.38, 158.86°)
OKLaboklab(52.85% -0.0952 0.0343)
OKLCHoklch(52.85% 0.101 160.2)
XYZxyz(9.9280, 15.8054, 11.5425)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D57 #7D284E
analogous
#287D2C #287D57 #28797D
triadic
#287D57 #57287D #7D5728
tetradic
#287D57 #2C287D #7D284E #797D28
square
#287D57 #2C287D #7D284E #797D28
split-complementary
#287D57 #7D2879 #7D2C28
monochromatic
#0A2016 #194F37 #287D57 #37AB77 #56C996

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D57#FFFFFF#000000##FFFFFF
##287D571.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)
#7B7455
Deuteranopia (green-blind)
#706B59
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d57;
/* rgb */ color: rgb(40, 125, 87);
/* oklch */ color: oklch(52.9% 0.101 160.2);
Tailwind
colors: {
  custom: {
    50: '#6da386',
    500: '#287d57',
    950: '#000000',
  },
}
SCSS
$custom: #287d57;
$custom-light: #6da386;
$custom-dark: #000000;
JSON
{
  "hex": "#287d57",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 87
  },
  "hsl": {
    "h": 153.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.10119,
    "h": 160.2
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#287D57
secondary
#AE537C
accent
#4D8CDB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D57

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

Preview Lab → · Contrast checker → · Palette generator →

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