#288271#288271

#288271 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.9% C 0.088 H 177.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#288271
RGBrgb(40, 130, 113)
HSLhsl(169, 53%, 33%)
HSVhsv(169, 69%, 51%)
CMYKcmyk(69.2%, 0%, 13.1%, 49%)
CIE-LABlab(49.02, -30.55, 1.54)
CIE-LCHlch(49.02, 30.59, 177.12°)
OKLaboklab(54.95% -0.0877 0.0036)
OKLCHoklch(54.95% 0.088 177.7)
XYZxyz(11.8369, 17.6073, 18.3943)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288271 #822839
analogous
#288244 #288271 #286682
triadic
#288271 #712882 #827128
tetradic
#288271 #442882 #822839 #668228
square
#288271 #442882 #822839 #668228
split-complementary
#288271 #822866 #824428
monochromatic
#0B2420 #1A5348 #288271 #36B19A #59CCB6

Accessibility & contrast

On white

4.64
#288271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#288271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288271
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288271#FFFFFF#000000##FFFFFF
##2882711.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#707172
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288271;
/* rgb */ color: rgb(40, 130, 113);
/* oklch */ color: oklch(54.9% 0.088 177.7);
Tailwind
colors: {
  custom: {
    50: '#6fa799',
    500: '#288271',
    950: '#000000',
  },
}
SCSS
$custom: #288271;
$custom-light: #6fa799;
$custom-dark: #000000;
JSON
{
  "hex": "#288271",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 168.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.08775,
    "h": 177.7
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#288271
secondary
#B15566
accent
#4B67DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #288271

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

Preview Lab → · Contrast checker → · Palette generator →

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