#287D54#287D54

#287D54 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.104 H 158.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#287D54
RGBrgb(40, 125, 84)
HSLhsl(151, 52%, 32%)
HSVhsv(151, 68%, 49%)
CMYKcmyk(68%, 0%, 32.8%, 51%)
CIE-LABlab(46.65, -35.54, 15.13)
CIE-LCHlch(46.65, 38.63, 156.94°)
OKLaboklab(52.78% -0.0967 0.0383)
OKLCHoklch(52.78% 0.104 158.4)
XYZxyz(9.8080, 15.7574, 10.9104)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D54 #7D2851
analogous
#287D2A #287D54 #287B7D
triadic
#287D54 #54287D #7D5428
tetradic
#287D54 #2A287D #7D2851 #7B7D28
square
#287D54 #2A287D #7D2851 #7B7D28
split-complementary
#287D54 #7D287B #7D2A28
monochromatic
#0A2016 #194F35 #287D54 #37AB73 #56C992

Accessibility & contrast

On white

5.06
#287D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#287D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D54
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D54#FFFFFF#000000##FFFFFF
##287D541.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7351
Deuteranopia (green-blind)
#716B57
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d54;
/* rgb */ color: rgb(40, 125, 84);
/* oklch */ color: oklch(52.8% 0.104 158.4);
Tailwind
colors: {
  custom: {
    50: '#6da384',
    500: '#287d54',
    950: '#000000',
  },
}
SCSS
$custom: #287d54;
$custom-light: #6da384;
$custom-dark: #000000;
JSON
{
  "hex": "#287d54",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 84
  },
  "hsl": {
    "h": 151.059,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.10404,
    "h": 158.4
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#287D54
secondary
#AE537F
accent
#4D91DB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D54

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

Preview Lab → · Contrast checker → · Palette generator →

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