#287979#287979

#287979 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.076 H 195.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#287979
RGBrgb(40, 121, 121)
HSLhsl(180, 50%, 32%)
HSVhsv(180, 67%, 47%)
CMYKcmyk(66.9%, 0%, 0%, 52.5%)
CIE-LABlab(46.32, -23.76, -7.16)
CIE-LCHlch(46.32, 24.82, 196.78°)
OKLaboklab(52.83% -0.0738 -0.0199)
OKLCHoklch(52.83% 0.076 195.1)
XYZxyz(11.1621, 15.5051, 20.4900)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287979 #792828
analogous
#287951 #287979 #285179
triadic
#287979 #792879 #797928
tetradic
#287979 #512879 #792828 #517928
square
#287979 #512879 #792828 #517928
split-complementary
#287979 #792851 #795128
monochromatic
#0A1D1D #194B4B #287979 #37A7A7 #55C7C7

Accessibility & contrast

On white

5.12
#287979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#287979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287979
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287979#FFFFFF#000000##FFFFFF
##2879791.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287979;
/* rgb */ color: rgb(40, 121, 121);
/* oklch */ color: oklch(52.8% 0.076 195.1);
Tailwind
colors: {
  custom: {
    50: '#6ea09f',
    500: '#287979',
    950: '#000000',
  },
}
SCSS
$custom: #287979;
$custom-light: #6ea09f;
$custom-dark: #000000;
JSON
{
  "hex": "#287979",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 121
  },
  "hsl": {
    "h": 180,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.07641,
    "h": 195.1
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#287979
secondary
#AB5252
accent
#4E4EDA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #287979

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

Preview Lab → · Contrast checker → · Palette generator →

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