#18787E#18787E

#18787E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.083 H 201.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#18787E
RGBrgb(24, 120, 126)
HSLhsl(184, 68%, 29%)
HSVhsv(184, 81%, 49%)
CMYKcmyk(81%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.81, -23.84, -10.93)
CIE-LCHlch(45.81, 26.22, 204.63°)
OKLaboklab(52.38% -0.0773 -0.0304)
OKLCHoklch(52.38% 0.083 201.5)
XYZxyz(10.8574, 15.1321, 22.0832)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18787E #7E1E18
analogous
#187E51 #18787E #18457E
triadic
#18787E #7E1878 #787E18
tetradic
#18787E #51187E #7E1E18 #457E18
square
#18787E #51187E #7E1E18 #457E18
split-complementary
#18787E #7E1845 #7E5118
monochromatic
#05181A #0E474B #18787E #22A9B1 #37CFD9

Accessibility & contrast

On white

5.22
#18787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#18787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18787E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18787E#FFFFFF#000000##FFFFFF
##18787E1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727E
Deuteranopia (green-blind)
#60687E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #18787e;
/* rgb */ color: rgb(24, 120, 126);
/* oklch */ color: oklch(52.4% 0.083 201.5);
Tailwind
colors: {
  custom: {
    50: '#699fa3',
    500: '#18787e',
    950: '#000000',
  },
}
SCSS
$custom: #18787e;
$custom-light: #699fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#18787e",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.08304,
    "h": 201.5
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#18787E
secondary
#B2463F
accent
#473DEB
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #18787E

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

Preview Lab → · Contrast checker → · Palette generator →

#18787E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva