#287D5A#287D5A

#287D5A is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.9% C 0.098 H 162.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#287D5A
RGBrgb(40, 125, 90)
HSLhsl(155, 52%, 32%)
HSVhsv(155, 68%, 49%)
CMYKcmyk(68%, 0%, 28%, 51%)
CIE-LABlab(46.78, -34.16, 11.83)
CIE-LCHlch(46.78, 36.15, 160.91°)
OKLaboklab(52.93% -0.0937 0.0301)
OKLCHoklch(52.93% 0.098 162.2)
XYZxyz(10.0531, 15.8555, 12.2015)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D5A #7D284B
analogous
#287D30 #287D5A #28767D
triadic
#287D5A #5A287D #7D5A28
tetradic
#287D5A #30287D #7D284B #767D28
square
#287D5A #30287D #7D284B #767D28
split-complementary
#287D5A #7D2876 #7D3028
monochromatic
#0A2017 #194F39 #287D5A #37AB7B #56C99A

Accessibility & contrast

On white

5.03
#287D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#287D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D5A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D5A#FFFFFF#000000##FFFFFF
##287D5A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7458
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d5a;
/* rgb */ color: rgb(40, 125, 90);
/* oklch */ color: oklch(52.9% 0.098 162.2);
Tailwind
colors: {
  custom: {
    50: '#6da388',
    500: '#287d5a',
    950: '#000000',
  },
}
SCSS
$custom: #287d5a;
$custom-light: #6da388;
$custom-dark: #000000;
JSON
{
  "hex": "#287d5a",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 90
  },
  "hsl": {
    "h": 155.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.09842,
    "h": 162.2
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#287D5A
secondary
#AE5378
accent
#4D87DB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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