#287D5D#287D5D

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

Color values

HEX#287D5D
RGBrgb(40, 125, 93)
HSLhsl(157, 52%, 32%)
HSVhsv(157, 68%, 49%)
CMYKcmyk(68%, 0%, 25.6%, 51%)
CIE-LABlab(46.85, -33.44, 10.17)
CIE-LCHlch(46.85, 34.95, 163.09°)
OKLaboklab(53.01% -0.0922 0.026)
OKLCHoklch(53.01% 0.096 164.3)
XYZxyz(10.1834, 15.9076, 12.8876)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D5D #7D2848
analogous
#287D33 #287D5D #28727D
triadic
#287D5D #5D287D #7D5D28
tetradic
#287D5D #33287D #7D2848 #727D28
square
#287D5D #33287D #7D2848 #727D28
split-complementary
#287D5D #7D2872 #7D3328
monochromatic
#0A2018 #194F3B #287D5D #37AB7F #56C99E

Accessibility & contrast

On white

5.02
#287D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D5D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D5D#FFFFFF#000000##FFFFFF
##287D5D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287d5d;
/* rgb */ color: rgb(40, 125, 93);
/* oklch */ color: oklch(53.0% 0.096 164.3);
Tailwind
colors: {
  custom: {
    50: '#6da38b',
    500: '#287d5d',
    950: '#000000',
  },
}
SCSS
$custom: #287d5d;
$custom-light: #6da38b;
$custom-dark: #000000;
JSON
{
  "hex": "#287d5d",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 157.412,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.09576,
    "h": 164.3
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#287D5D
secondary
#AE5375
accent
#4D82DB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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