#18787F#18787F

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

Color values

HEX#18787F
RGBrgb(24, 120, 127)
HSLhsl(184, 68%, 30%)
HSVhsv(184, 81%, 50%)
CMYKcmyk(81.1%, 5.5%, 0%, 50.2%)
CIE-LABlab(45.85, -23.51, -11.47)
CIE-LCHlch(45.85, 26.16, 206.01°)
OKLaboklab(52.42% -0.0768 -0.0319)
OKLCHoklch(52.42% 0.083 202.5)
XYZxyz(10.9222, 15.1581, 22.4247)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18787F #7F1F18
analogous
#187F53 #18787F #18447F
triadic
#18787F #7F1878 #787F18
tetradic
#18787F #53187F #7F1F18 #447F18
square
#18787F #53187F #7F1F18 #447F18
split-complementary
#18787F #7F1844 #7F5318
monochromatic
#05181A #0E474C #18787F #22A9B2 #38CED9

Accessibility & contrast

On white

5.21
#18787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18787F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18787F#FFFFFF#000000##FFFFFF
##18787F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7280
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #18787f;
/* rgb */ color: rgb(24, 120, 127);
/* oklch */ color: oklch(52.4% 0.083 202.5);
Tailwind
colors: {
  custom: {
    50: '#699fa4',
    500: '#18787f',
    950: '#000000',
  },
}
SCSS
$custom: #18787f;
$custom-light: #699fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#18787f",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.078,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.08317,
    "h": 202.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#18787F
secondary
#B3473F
accent
#493DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #18787F

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

Preview Lab → · Contrast checker → · Palette generator →

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