#287F59#287F59

#287F59 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.5% C 0.102 H 160.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#287F59
RGBrgb(40, 127, 89)
HSLhsl(154, 52%, 33%)
HSVhsv(154, 69%, 50%)
CMYKcmyk(68.5%, 0%, 29.9%, 50.2%)
CIE-LABlab(47.43, -35.28, 13.30)
CIE-LCHlch(47.43, 37.71, 159.34°)
OKLaboklab(53.45% -0.0964 0.0338)
OKLCHoklch(53.45% 0.102 160.7)
XYZxyz(10.2666, 16.3500, 12.0641)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F59 #7F284E
analogous
#287F2D #287F59 #28797F
triadic
#287F59 #59287F #7F5928
tetradic
#287F59 #2D287F #7F284E #797F28
square
#287F59 #2D287F #7F284E #797F28
split-complementary
#287F59 #7F2879 #7F2D28
monochromatic
#0B2218 #195038 #287F59 #37AE7A #57CA98

Accessibility & contrast

On white

4.92
#287F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#287F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F59
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F59#FFFFFF#000000##FFFFFF
##287F591.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7557
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #287f59;
/* rgb */ color: rgb(40, 127, 89);
/* oklch */ color: oklch(53.5% 0.102 160.7);
Tailwind
colors: {
  custom: {
    50: '#6da588',
    500: '#287f59',
    950: '#000000',
  },
}
SCSS
$custom: #287f59;
$custom-light: #6da588;
$custom-dark: #000000;
JSON
{
  "hex": "#287f59",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 89
  },
  "hsl": {
    "h": 153.793,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.1022,
    "h": 160.7
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#287F59
secondary
#AF547C
accent
#4C8BDC
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287F59

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

Preview Lab → · Contrast checker → · Palette generator →

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