#287C5F#287C5F

#287C5F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.8% C 0.093 H 166.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#287C5F
RGBrgb(40, 124, 95)
HSLhsl(159, 51%, 32%)
HSVhsv(159, 68%, 49%)
CMYKcmyk(67.7%, 0%, 23.4%, 51.4%)
CIE-LABlab(46.57, -32.49, 8.59)
CIE-LCHlch(46.57, 33.61, 165.18°)
OKLaboklab(52.79% -0.09 0.022)
OKLCHoklch(52.79% 0.093 166.3)
XYZxyz(10.1472, 15.6915, 13.3183)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C5F #7C2845
analogous
#287C35 #287C5F #286F7C
triadic
#287C5F #5F287C #7C5F28
tetradic
#287C5F #35287C #7C2845 #6F7C28
square
#287C5F #35287C #7C2845 #6F7C28
split-complementary
#287C5F #7C286F #7C3528
monochromatic
#0A1F18 #194E3C #287C5F #37AA82 #56C8A1

Accessibility & contrast

On white

5.07
#287C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C5F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C5F#FFFFFF#000000##FFFFFF
##287C5F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735D
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#007C74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287c5f;
/* rgb */ color: rgb(40, 124, 95);
/* oklch */ color: oklch(52.8% 0.093 166.3);
Tailwind
colors: {
  custom: {
    50: '#6da28c',
    500: '#287c5f',
    950: '#000000',
  },
}
SCSS
$custom: #287c5f;
$custom-light: #6da28c;
$custom-dark: #000000;
JSON
{
  "hex": "#287c5f",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 159.286,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.09267,
    "h": 166.3
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#287C5F
secondary
#AD5272
accent
#4D7EDB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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