#288371#288371

#288371 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.2% C 0.089 H 176.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288371
RGBrgb(40, 131, 113)
HSLhsl(168, 53%, 34%)
HSVhsv(168, 69%, 51%)
CMYKcmyk(69.5%, 0%, 13.7%, 48.6%)
CIE-LABlab(49.34, -31.03, 2.01)
CIE-LCHlch(49.34, 31.09, 176.29°)
OKLaboklab(55.21% -0.0888 0.0049)
OKLCHoklch(55.21% 0.089 176.9)
XYZxyz(11.9706, 17.8746, 18.4389)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288371 #83283A
analogous
#288343 #288371 #286783
triadic
#288371 #712883 #837128
tetradic
#288371 #432883 #83283A #678328
square
#288371 #432883 #83283A #678328
split-complementary
#288371 #832867 #834328
monochromatic
#0B2520 #1A5449 #288371 #36B299 #59CCB6

Accessibility & contrast

On white

4.59
#288371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288371
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288371#FFFFFF#000000##FFFFFF
##2883711.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288371;
/* rgb */ color: rgb(40, 131, 113);
/* oklch */ color: oklch(55.2% 0.089 176.9);
Tailwind
colors: {
  custom: {
    50: '#6fa799',
    500: '#288371',
    950: '#000000',
  },
}
SCSS
$custom: #288371;
$custom-light: #6fa799;
$custom-dark: #000000;
JSON
{
  "hex": "#288371",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 168.132,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.08891,
    "h": 176.9
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#288371
secondary
#B15568
accent
#4B68DD
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #288371

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

Preview Lab → · Contrast checker → · Palette generator →

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