#288171#288171

#288171 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.7% C 0.087 H 178.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#288171
RGBrgb(40, 129, 113)
HSLhsl(169, 53%, 33%)
HSVhsv(169, 69%, 51%)
CMYKcmyk(69%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.69, -30.07, 1.06)
CIE-LCHlch(48.69, 30.09, 177.98°)
OKLaboklab(54.68% -0.0866 0.0023)
OKLCHoklch(54.68% 0.087 178.5)
XYZxyz(11.7045, 17.3426, 18.3502)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288171 #812838
analogous
#288144 #288171 #286581
triadic
#288171 #712881 #817128
tetradic
#288171 #442881 #812838 #658128
square
#288171 #442881 #812838 #658128
split-complementary
#288171 #812865 #814428
monochromatic
#0B241F #1A5248 #288171 #36B09A #58CBB7

Accessibility & contrast

On white

4.70
#288171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#288171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288171
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288171#FFFFFF#000000##FFFFFF
##2881711.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7970
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288171;
/* rgb */ color: rgb(40, 129, 113);
/* oklch */ color: oklch(54.7% 0.087 178.5);
Tailwind
colors: {
  custom: {
    50: '#6fa699',
    500: '#288171',
    950: '#000000',
  },
}
SCSS
$custom: #288171;
$custom-light: #6fa699;
$custom-dark: #000000;
JSON
{
  "hex": "#288171",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 169.213,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.0866,
    "h": 178.5
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#288171
secondary
#B05465
accent
#4C66DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #288171

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

Preview Lab → · Contrast checker → · Palette generator →

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