#18798A#18798A

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

Color values

HEX#18798A
RGBrgb(24, 121, 138)
HSLhsl(189, 70%, 32%)
HSVhsv(189, 83%, 54%)
CMYKcmyk(82.6%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.58, -20.32, -16.89)
CIE-LCHlch(46.58, 26.42, 219.73°)
OKLaboklab(53.15% -0.0729 -0.0471)
OKLCHoklch(53.15% 0.087 212.9)
XYZxyz(11.7995, 15.7024, 26.4488)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18798A #8A2918
analogous
#188A62 #18798A #18408A
triadic
#18798A #8A1879 #798A18
tetradic
#18798A #62188A #8A2918 #408A18
square
#18798A #62188A #8A2918 #408A18
split-complementary
#18798A #8A1840 #8A6218
monochromatic
#061E22 #0F4B56 #18798A #21A7BE #3FC6DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18798A#FFFFFF#000000##FFFFFF
##18798A1.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: #18798a;
/* rgb */ color: rgb(24, 121, 138);
/* oklch */ color: oklch(53.1% 0.087 212.9);
Tailwind
colors: {
  custom: {
    50: '#6ba0ac',
    500: '#18798a',
    950: '#000000',
  },
}
SCSS
$custom: #18798a;
$custom-light: #6ba0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#18798a",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 188.947,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.08682,
    "h": 212.9
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#18798A
secondary
#BD5340
accent
#553BED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #18798A

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

Preview Lab → · Contrast checker → · Palette generator →

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