#287D58#287D58

#287D58 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.9% C 0.100 H 160.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#287D58
RGBrgb(40, 125, 88)
HSLhsl(154, 52%, 32%)
HSVhsv(154, 68%, 49%)
CMYKcmyk(68%, 0%, 29.6%, 51%)
CIE-LABlab(46.74, -34.63, 12.93)
CIE-LCHlch(46.74, 36.97, 159.53°)
OKLaboklab(52.88% -0.0947 0.0329)
OKLCHoklch(52.88% 0.1 160.8)
XYZxyz(9.9692, 15.8219, 11.7592)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D58 #7D284D
analogous
#287D2D #287D58 #28787D
triadic
#287D58 #58287D #7D5828
tetradic
#287D58 #2D287D #7D284D #787D28
square
#287D58 #2D287D #7D284D #787D28
split-complementary
#287D58 #7D2878 #7D2D28
monochromatic
#0A2017 #194F37 #287D58 #37AB79 #56C997

Accessibility & contrast

On white

5.04
#287D58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#287D58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D58
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D58#FFFFFF#000000##FFFFFF
##287D581.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7456
Deuteranopia (green-blind)
#706B5A
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287d58;
/* rgb */ color: rgb(40, 125, 88);
/* oklch */ color: oklch(52.9% 0.100 160.8);
Tailwind
colors: {
  custom: {
    50: '#6da387',
    500: '#287d58',
    950: '#000000',
  },
}
SCSS
$custom: #287d58;
$custom-light: #6da387;
$custom-dark: #000000;
JSON
{
  "hex": "#287d58",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 88
  },
  "hsl": {
    "h": 153.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.10026,
    "h": 160.8
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#287D58
secondary
#AE537A
accent
#4D8BDB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #287D58

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

Preview Lab → · Contrast checker → · Palette generator →

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