#287751#287751

#287751 is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.0% C 0.098 H 158.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#287751
RGBrgb(40, 119, 81)
HSLhsl(151, 50%, 31%)
HSVhsv(151, 66%, 47%)
CMYKcmyk(66.4%, 0%, 31.9%, 53.3%)
CIE-LABlab(44.57, -33.56, 14.02)
CIE-LCHlch(44.57, 36.37, 157.32°)
OKLaboklab(51.05% -0.0915 0.0355)
OKLCHoklch(51.05% 0.098 158.8)
XYZxyz(8.9563, 14.2379, 10.0592)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287751 #77284E
analogous
#287729 #287751 #287577
triadic
#287751 #512877 #775128
tetradic
#287751 #292877 #77284E #757728
square
#287751 #292877 #77284E #757728
split-complementary
#287751 #772875 #772928
monochromatic
#091B13 #194932 #287751 #37A570 #54C58F

Accessibility & contrast

On white

5.46
#287751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#287751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287751
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287751#FFFFFF#000000##FFFFFF
##2877511.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4F
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#00766D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287751;
/* rgb */ color: rgb(40, 119, 81);
/* oklch */ color: oklch(51.0% 0.098 158.8);
Tailwind
colors: {
  custom: {
    50: '#6c9f82',
    500: '#287751',
    950: '#000000',
  },
}
SCSS
$custom: #287751;
$custom-light: #6c9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#287751",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 81
  },
  "hsl": {
    "h": 151.139,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5105,
    "c": 0.09815,
    "h": 158.8
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#287751
secondary
#A9527C
accent
#4F91D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287751

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

Preview Lab → · Contrast checker → · Palette generator →

#287751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva