#287D5F#287D5F

#287D5F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.1% C 0.094 H 165.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#287D5F
RGBrgb(40, 125, 95)
HSLhsl(159, 52%, 32%)
HSVhsv(159, 68%, 49%)
CMYKcmyk(68%, 0%, 24%, 51%)
CIE-LABlab(46.90, -32.95, 9.07)
CIE-LCHlch(46.90, 34.17, 164.62°)
OKLaboklab(53.06% -0.0911 0.0232)
OKLCHoklch(53.06% 0.094 165.7)
XYZxyz(10.2732, 15.9435, 13.3602)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D5F #7D2846
analogous
#287D35 #287D5F #28707D
triadic
#287D5F #5F287D #7D5F28
tetradic
#287D5F #35287D #7D2846 #707D28
square
#287D5F #35287D #7D2846 #707D28
split-complementary
#287D5F #7D2870 #7D3528
monochromatic
#0A2019 #194F3C #287D5F #37AB82 #56C9A1

Accessibility & contrast

On white

5.01
#287D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#287D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D5F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D5F#FFFFFF#000000##FFFFFF
##287D5F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6F6C61
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d5f;
/* rgb */ color: rgb(40, 125, 95);
/* oklch */ color: oklch(53.1% 0.094 165.7);
Tailwind
colors: {
  custom: {
    50: '#6da38c',
    500: '#287d5f',
    950: '#000000',
  },
}
SCSS
$custom: #287d5f;
$custom-light: #6da38c;
$custom-dark: #000000;
JSON
{
  "hex": "#287d5f",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 158.824,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.09405,
    "h": 165.7
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#287D5F
secondary
#AE5373
accent
#4D7FDB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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