#288172#288172

#288172 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.7% C 0.086 H 179.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#288172
RGBrgb(40, 129, 114)
HSLhsl(170, 53%, 33%)
HSVhsv(170, 69%, 51%)
CMYKcmyk(69%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.72, -29.80, 0.51)
CIE-LCHlch(48.72, 29.80, 179.01°)
OKLaboklab(54.71% -0.0861 0.0009)
OKLCHoklch(54.71% 0.086 179.4)
XYZxyz(11.7611, 17.3652, 18.6483)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288172 #812837
analogous
#288145 #288172 #286381
triadic
#288172 #722881 #817228
tetradic
#288172 #452881 #812837 #638128
square
#288172 #452881 #812837 #638128
split-complementary
#288172 #812863 #814528
monochromatic
#0B241F #1A5249 #288172 #36B09B #58CBB8

Accessibility & contrast

On white

4.69
#288172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #288172
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288172#FFFFFF#000000##FFFFFF
##2881721.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288172;
/* rgb */ color: rgb(40, 129, 114);
/* oklch */ color: oklch(54.7% 0.086 179.4);
Tailwind
colors: {
  custom: {
    50: '#6fa69a',
    500: '#288172',
    950: '#000000',
  },
}
SCSS
$custom: #288172;
$custom-light: #6fa69a;
$custom-dark: #000000;
JSON
{
  "hex": "#288172",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 169.888,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.08608,
    "h": 179.4
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#288172
secondary
#B05464
accent
#4C64DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #288172

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

Preview Lab → · Contrast checker → · Palette generator →

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