#17798A#17798A

#17798A is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.087 H 212.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#17798A
RGBrgb(23, 121, 138)
HSLhsl(189, 71%, 32%)
HSVhsv(189, 83%, 54%)
CMYKcmyk(83.3%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.57, -20.42, -16.92)
CIE-LCHlch(46.57, 26.51, 219.64°)
OKLaboklab(53.13% -0.0732 -0.0472)
OKLCHoklch(53.13% 0.087 212.8)
XYZxyz(11.7762, 15.6904, 26.4477)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17798A #8A2817
analogous
#178A62 #17798A #173F8A
triadic
#17798A #8A1779 #798A17
tetradic
#17798A #62178A #8A2817 #3F8A17
square
#17798A #62178A #8A2817 #3F8A17
split-complementary
#17798A #8A173F #8A6217
monochromatic
#061D21 #0E4B56 #17798A #20A7BE #3DC7DF

Accessibility & contrast

On white

5.07
#17798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#17798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17798A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17798A#FFFFFF#000000##FFFFFF
##17798A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #17798a;
/* rgb */ color: rgb(23, 121, 138);
/* oklch */ color: oklch(53.1% 0.087 212.8);
Tailwind
colors: {
  custom: {
    50: '#6ba0ac',
    500: '#17798a',
    950: '#000000',
  },
}
SCSS
$custom: #17798a;
$custom-light: #6ba0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#17798a",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 188.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.08715,
    "h": 212.8
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#17798A
secondary
#BE523F
accent
#543AEE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #17798A

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

Preview Lab → · Contrast checker → · Palette generator →

#17798A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva