#18798B#18798B

#18798B is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.087 H 213.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#18798B
RGBrgb(24, 121, 139)
HSLhsl(189, 71%, 32%)
HSVhsv(189, 83%, 55%)
CMYKcmyk(82.7%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.62, -19.98, -17.42)
CIE-LCHlch(46.62, 26.51, 221.10°)
OKLaboklab(53.19% -0.0725 -0.0486)
OKLCHoklch(53.19% 0.087 213.9)
XYZxyz(11.8722, 15.7315, 26.8319)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18798B #8B2A18
analogous
#188B64 #18798B #18408B
triadic
#18798B #8B1879 #798B18
tetradic
#18798B #64188B #8B2A18 #408B18
square
#18798B #64188B #8B2A18 #408B18
split-complementary
#18798B #8B1840 #8B6418
monochromatic
#061E23 #0F4C57 #18798B #21A6BF #3FC5DE

Accessibility & contrast

On white

5.06
#18798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#18798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18798B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18798B#FFFFFF#000000##FFFFFF
##18798B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #18798b;
/* rgb */ color: rgb(24, 121, 139);
/* oklch */ color: oklch(53.2% 0.087 213.9);
Tailwind
colors: {
  custom: {
    50: '#6ba0ad',
    500: '#18798b',
    950: '#000000',
  },
}
SCSS
$custom: #18798b;
$custom-light: #6ba0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18798b",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 189.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.0873,
    "h": 213.9
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#18798B
secondary
#BE5440
accent
#563AED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #18798B

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

Preview Lab → · Contrast checker → · Palette generator →

#18798B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva