#18787C#18787C

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

Color values

HEX#18787C
RGBrgb(24, 120, 124)
HSLhsl(182, 68%, 29%)
HSVhsv(182, 81%, 49%)
CMYKcmyk(80.6%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.74, -24.49, -9.84)
CIE-LCHlch(45.74, 26.40, 201.90°)
OKLaboklab(52.3% -0.0782 -0.0274)
OKLCHoklch(52.3% 0.083 199.3)
XYZxyz(10.7296, 15.0810, 21.4103)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18787C #7C1C18
analogous
#187C4E #18787C #18467C
triadic
#18787C #7C1878 #787C18
tetradic
#18787C #4E187C #7C1C18 #467C18
square
#18787C #4E187C #7C1C18 #467C18
split-complementary
#18787C #7C1846 #7C4E18
monochromatic
#05191A #0E4649 #18787C #22AAAF #36D2D8

Accessibility & contrast

On white

5.23
#18787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#18787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18787C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18787C#FFFFFF#000000##FFFFFF
##18787C1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18787c;
/* rgb */ color: rgb(24, 120, 124);
/* oklch */ color: oklch(52.3% 0.083 199.3);
Tailwind
colors: {
  custom: {
    50: '#699fa1',
    500: '#18787c',
    950: '#000000',
  },
}
SCSS
$custom: #18787c;
$custom-light: #699fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#18787c",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.08286,
    "h": 199.3
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#18787C
secondary
#B1443F
accent
#443DEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #18787C

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

Preview Lab → · Contrast checker → · Palette generator →

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