#18787B#18787B

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

Color values

HEX#18787B
RGBrgb(24, 120, 123)
HSLhsl(182, 67%, 29%)
HSVhsv(182, 80%, 48%)
CMYKcmyk(80.5%, 2.4%, 0%, 51.8%)
CIE-LABlab(45.71, -24.82, -9.30)
CIE-LCHlch(45.71, 26.50, 200.54°)
OKLaboklab(52.26% -0.0787 -0.0258)
OKLCHoklch(52.26% 0.083 198.2)
XYZxyz(10.6667, 15.0559, 21.0789)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18787B #7B1B18
analogous
#187B4D #18787B #18477B
triadic
#18787B #7B1878 #787B18
tetradic
#18787B #4D187B #7B1B18 #477B18
square
#18787B #4D187B #7B1B18 #477B18
split-complementary
#18787B #7B1847 #7B4D18
monochromatic
#05191A #0E4648 #18787B #22AAAE #36D3D8

Accessibility & contrast

On white

5.24
#18787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#18787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18787B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18787B#FFFFFF#000000##FFFFFF
##18787B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727B
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #18787b;
/* rgb */ color: rgb(24, 120, 123);
/* oklch */ color: oklch(52.3% 0.083 198.2);
Tailwind
colors: {
  custom: {
    50: '#699fa1',
    500: '#18787b',
    950: '#000000',
  },
}
SCSS
$custom: #18787b;
$custom-light: #699fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#18787b",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 181.818,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.08282,
    "h": 198.2
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#18787B
secondary
#B0433F
accent
#433EEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #18787B

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

Preview Lab → · Contrast checker → · Palette generator →

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