#287752#287752

#287752 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.1% C 0.097 H 159.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#287752
RGBrgb(40, 119, 82)
HSLhsl(152, 50%, 31%)
HSVhsv(152, 66%, 47%)
CMYKcmyk(66.4%, 0%, 31.1%, 53.3%)
CIE-LABlab(44.59, -33.33, 13.47)
CIE-LCHlch(44.59, 35.95, 158.00°)
OKLaboklab(51.08% -0.091 0.0342)
OKLCHoklch(51.08% 0.097 159.4)
XYZxyz(8.9940, 14.2530, 10.2581)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287752 #77284D
analogous
#28772A #287752 #287477
triadic
#287752 #522877 #775228
tetradic
#287752 #2A2877 #77284D #747728
square
#287752 #2A2877 #77284D #747728
split-complementary
#287752 #772874 #772A28
monochromatic
#091B13 #194932 #287752 #37A572 #54C590

Accessibility & contrast

On white

5.45
#287752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287752
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287752#FFFFFF#000000##FFFFFF
##2877521.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287752;
/* rgb */ color: rgb(40, 119, 82);
/* oklch */ color: oklch(51.1% 0.097 159.4);
Tailwind
colors: {
  custom: {
    50: '#6c9f82',
    500: '#287752',
    950: '#000000',
  },
}
SCSS
$custom: #287752;
$custom-light: #6c9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#287752",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 82
  },
  "hsl": {
    "h": 151.899,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.09719,
    "h": 159.4
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#287752
secondary
#A9527B
accent
#4F90D9
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287752

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

Preview Lab → · Contrast checker → · Palette generator →

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