#287C5D#287C5D

#287C5D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.7% C 0.094 H 164.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287C5D
RGBrgb(40, 124, 93)
HSLhsl(158, 51%, 32%)
HSVhsv(158, 68%, 49%)
CMYKcmyk(67.7%, 0%, 25%, 51.4%)
CIE-LABlab(46.52, -32.99, 9.70)
CIE-LCHlch(46.52, 34.38, 163.61°)
OKLaboklab(52.74% -0.091 0.0248)
OKLCHoklch(52.74% 0.094 164.8)
XYZxyz(10.0575, 15.6557, 12.8456)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C5D #7C2847
analogous
#287C33 #287C5D #28717C
triadic
#287C5D #5D287C #7C5D28
tetradic
#287C5D #33287C #7C2847 #717C28
square
#287C5D #33287C #7C2847 #717C28
split-complementary
#287C5D #7C2871 #7C3328
monochromatic
#0A1F18 #194E3A #287C5D #37AA80 #56C89E

Accessibility & contrast

On white

5.08
#287C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#287C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C5D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C5D#FFFFFF#000000##FFFFFF
##287C5D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A735B
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287c5d;
/* rgb */ color: rgb(40, 124, 93);
/* oklch */ color: oklch(52.7% 0.094 164.8);
Tailwind
colors: {
  custom: {
    50: '#6da28b',
    500: '#287c5d',
    950: '#000000',
  },
}
SCSS
$custom: #287c5d;
$custom-light: #6da28b;
$custom-dark: #000000;
JSON
{
  "hex": "#287c5d",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 93
  },
  "hsl": {
    "h": 157.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52735,
    "c": 0.09436,
    "h": 164.8
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#287C5D
secondary
#AD5274
accent
#4D81DB
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#080F0C
muted
#7A7F7D

Preview Lab

Preview with #287C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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