#287D5C#287D5C

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

Color values

HEX#287D5C
RGBrgb(40, 125, 92)
HSLhsl(157, 52%, 32%)
HSVhsv(157, 68%, 49%)
CMYKcmyk(68%, 0%, 26.4%, 51%)
CIE-LABlab(46.83, -33.68, 10.72)
CIE-LCHlch(46.83, 35.35, 162.34°)
OKLaboklab(52.98% -0.0927 0.0274)
OKLCHoklch(52.98% 0.097 163.5)
XYZxyz(10.1394, 15.8900, 12.6558)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D5C #7D2849
analogous
#287D32 #287D5C #28737D
triadic
#287D5C #5C287D #7D5C28
tetradic
#287D5C #32287D #7D2849 #737D28
square
#287D5C #32287D #7D2849 #737D28
split-complementary
#287D5C #7D2873 #7D3228
monochromatic
#0A2018 #194F3A #287D5C #37AB7E #56C99D

Accessibility & contrast

On white

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

On black

4.18
#287D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D5C#FFFFFF#000000##FFFFFF
##287D5C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B745A
Deuteranopia (green-blind)
#6F6C5E
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d5c;
/* rgb */ color: rgb(40, 125, 92);
/* oklch */ color: oklch(53.0% 0.097 163.5);
Tailwind
colors: {
  custom: {
    50: '#6da38a',
    500: '#287d5c',
    950: '#000000',
  },
}
SCSS
$custom: #287d5c;
$custom-light: #6da38a;
$custom-dark: #000000;
JSON
{
  "hex": "#287d5c",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 92
  },
  "hsl": {
    "h": 156.706,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.09664,
    "h": 163.5
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#287D5C
secondary
#AE5376
accent
#4D84DB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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