#287966#287966

#287966 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.083 H 174.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#287966
RGBrgb(40, 121, 102)
HSLhsl(166, 50%, 32%)
HSVhsv(166, 67%, 47%)
CMYKcmyk(66.9%, 0%, 15.7%, 52.5%)
CIE-LABlab(45.75, -29.26, 3.29)
CIE-LCHlch(45.75, 29.44, 173.58°)
OKLaboklab(52.18% -0.0831 0.0083)
OKLCHoklch(52.18% 0.083 174.3)
XYZxyz(10.1095, 15.0841, 14.9465)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287966 #79283B
analogous
#28793E #287966 #286479
triadic
#287966 #662879 #796628
tetradic
#287966 #3E2879 #79283B #647928
square
#287966 #3E2879 #79283B #647928
split-complementary
#287966 #792864 #793E28
monochromatic
#0A1D18 #194B3F #287966 #37A78D #55C7AC

Accessibility & contrast

On white

5.23
#287966 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#287966 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287966
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287966#FFFFFF#000000##FFFFFF
##2879661.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757165
Deuteranopia (green-blind)
#696967
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287966;
/* rgb */ color: rgb(40, 121, 102);
/* oklch */ color: oklch(52.2% 0.083 174.3);
Tailwind
colors: {
  custom: {
    50: '#6da091',
    500: '#287966',
    950: '#000000',
  },
}
SCSS
$custom: #287966;
$custom-light: #6da091;
$custom-dark: #000000;
JSON
{
  "hex": "#287966",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 102
  },
  "hsl": {
    "h": 165.926,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.08348,
    "h": 174.3
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#287966
secondary
#AB5267
accent
#4E6FDA
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #287966

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

Preview Lab → · Contrast checker → · Palette generator →

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