#287971#287971

#287971 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.078 H 185.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#287971
RGBrgb(40, 121, 113)
HSLhsl(174, 50%, 32%)
HSVhsv(174, 67%, 47%)
CMYKcmyk(66.9%, 0%, 6.6%, 52.5%)
CIE-LABlab(46.07, -26.16, -2.78)
CIE-LCHlch(46.07, 26.31, 186.07°)
OKLaboklab(52.54% -0.0776 -0.0079)
OKLCHoklch(52.54% 0.078 185.8)
XYZxyz(10.6917, 15.3169, 18.0126)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287971 #792830
analogous
#287949 #287971 #285979
triadic
#287971 #712879 #797128
tetradic
#287971 #492879 #792830 #597928
square
#287971 #492879 #792830 #597928
split-complementary
#287971 #792859 #794928
monochromatic
#0A1D1B #194B46 #287971 #37A79C #55C7BB

Accessibility & contrast

On white

5.17
#287971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#287971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287971
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287971#FFFFFF#000000##FFFFFF
##2879711.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737271
Deuteranopia (green-blind)
#676972
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287971;
/* rgb */ color: rgb(40, 121, 113);
/* oklch */ color: oklch(52.5% 0.078 185.8);
Tailwind
colors: {
  custom: {
    50: '#6da099',
    500: '#287971',
    950: '#000000',
  },
}
SCSS
$custom: #287971;
$custom-light: #6da099;
$custom-dark: #000000;
JSON
{
  "hex": "#287971",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 174.074,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.07802,
    "h": 185.8
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#287971
secondary
#AB525B
accent
#4E5CDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #287971

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

Preview Lab → · Contrast checker → · Palette generator →

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