#18798C#18798C

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

Color values

HEX#18798C
RGBrgb(24, 121, 140)
HSLhsl(190, 71%, 32%)
HSVhsv(190, 83%, 55%)
CMYKcmyk(82.9%, 13.6%, 0%, 45.1%)
CIE-LABlab(46.66, -19.63, -17.96)
CIE-LCHlch(46.66, 26.60, 222.45°)
OKLaboklab(53.24% -0.0721 -0.0501)
OKLCHoklch(53.24% 0.088 214.8)
XYZxyz(11.9456, 15.7609, 27.2184)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18798C #8C2B18
analogous
#188C65 #18798C #183F8C
triadic
#18798C #8C1879 #798C18
tetradic
#18798C #65188C #8C2B18 #3F8C18
square
#18798C #65188C #8C2B18 #3F8C18
split-complementary
#18798C #8C183F #8C6518
monochromatic
#061F24 #0F4C58 #18798C #21A6C0 #40C4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18798C#FFFFFF#000000##FFFFFF
##18798C1.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)
#6C758D
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18798c;
/* rgb */ color: rgb(24, 121, 140);
/* oklch */ color: oklch(53.2% 0.088 214.8);
Tailwind
colors: {
  custom: {
    50: '#6ba0ad',
    500: '#18798c',
    950: '#000000',
  },
}
SCSS
$custom: #18798c;
$custom-light: #6ba0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18798c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 189.828,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.08779,
    "h": 214.8
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#18798C
secondary
#BF5641
accent
#583AED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #18798C

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

Preview Lab → · Contrast checker → · Palette generator →

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