#288971#288971

#288971 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.8% C 0.096 H 172.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288971
RGBrgb(40, 137, 113)
HSLhsl(165, 55%, 35%)
HSVhsv(165, 71%, 54%)
CMYKcmyk(70.8%, 0%, 17.5%, 46.3%)
CIE-LABlab(51.31, -33.82, 4.84)
CIE-LCHlch(51.31, 34.17, 171.85°)
OKLaboklab(56.81% -0.0953 0.0123)
OKLCHoklch(56.81% 0.096 172.7)
XYZxyz(12.7999, 19.5332, 18.7153)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288971 #892840
analogous
#288941 #288971 #287089
triadic
#288971 #712889 #897128
tetradic
#288971 #412889 #892840 #708928
square
#288971 #412889 #892840 #708928
split-complementary
#288971 #892870 #894128
monochromatic
#0C2A23 #1A5A4A #288971 #36B898 #5CCFB3

Accessibility & contrast

On white

4.28
#288971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#288971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288971
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288971#FFFFFF#000000##000000
##2889711.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288971;
/* rgb */ color: rgb(40, 137, 113);
/* oklch */ color: oklch(56.8% 0.096 172.7);
Tailwind
colors: {
  custom: {
    50: '#70ac99',
    500: '#288971',
    950: '#000000',
  },
}
SCSS
$custom: #288971;
$custom-light: #70ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#288971",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 165.155,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.09614,
    "h": 172.7
  },
  "luminance": 0.19535
}

Semantic roles & 50–950 ramp

primary
#288971
secondary
#B5586F
accent
#4A6EDE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #288971

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

Preview Lab → · Contrast checker → · Palette generator →

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