#287652#287652

#287652 is a mid, moderate teal. Relative luminance 0.140; OKLCH L 50.8% C 0.096 H 159.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#287652
RGBrgb(40, 118, 82)
HSLhsl(152, 49%, 31%)
HSVhsv(152, 66%, 46%)
CMYKcmyk(66.1%, 0%, 30.5%, 53.7%)
CIE-LABlab(44.26, -32.88, 13.00)
CIE-LCHlch(44.26, 35.36, 158.43°)
OKLaboklab(50.8% -0.0898 0.033)
OKLCHoklch(50.8% 0.096 159.8)
XYZxyz(8.8757, 14.0163, 10.2187)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287652 #76284C
analogous
#28762B #287652 #287376
triadic
#287652 #522876 #765228
tetradic
#287652 #2B2876 #76284C #737628
square
#287652 #2B2876 #76284C #737628
split-complementary
#287652 #762873 #762B28
monochromatic
#091B12 #194832 #287652 #37A472 #54C591

Accessibility & contrast

On white

5.52
#287652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#287652 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287652
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287652#FFFFFF#000000##FFFFFF
##2876521.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D50
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#00756C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #287652;
/* rgb */ color: rgb(40, 118, 82);
/* oklch */ color: oklch(50.8% 0.096 159.8);
Tailwind
colors: {
  custom: {
    50: '#6b9e82',
    500: '#287652',
    950: '#000000',
  },
}
SCSS
$custom: #287652;
$custom-light: #6b9e82;
$custom-dark: #000000;
JSON
{
  "hex": "#287652",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 82
  },
  "hsl": {
    "h": 152.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.09572,
    "h": 159.8
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#287652
secondary
#A8527A
accent
#4F8FD9
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #287652

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

Preview Lab → · Contrast checker → · Palette generator →

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