#18797F#18797F

#18797F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.084 H 201.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#18797F
RGBrgb(24, 121, 127)
HSLhsl(183, 68%, 30%)
HSVhsv(183, 81%, 50%)
CMYKcmyk(81.1%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.18, -24.02, -10.98)
CIE-LCHlch(46.18, 26.41, 204.56°)
OKLaboklab(52.69% -0.0778 -0.0305)
OKLCHoklch(52.69% 0.084 201.4)
XYZxyz(11.0431, 15.3999, 22.4650)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18797F #7F1E18
analogous
#187F52 #18797F #18467F
triadic
#18797F #7F1879 #797F18
tetradic
#18797F #52187F #7F1E18 #467F18
square
#18797F #52187F #7F1E18 #467F18
split-complementary
#18797F #7F1846 #7F5218
monochromatic
#05191A #0E484C #18797F #22AAB2 #38D0D9

Accessibility & contrast

On white

5.15
#18797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#18797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18797F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18797F#FFFFFF#000000##FFFFFF
##18797F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737F
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #18797f;
/* rgb */ color: rgb(24, 121, 127);
/* oklch */ color: oklch(52.7% 0.084 201.4);
Tailwind
colors: {
  custom: {
    50: '#6aa0a4',
    500: '#18797f',
    950: '#000000',
  },
}
SCSS
$custom: #18797f;
$custom-light: #6aa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18797f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.495,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.08362,
    "h": 201.4
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#18797F
secondary
#B3463F
accent
#473DEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #18797F

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

Preview Lab → · Contrast checker → · Palette generator →

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