#18786C#18786C

#18786C is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.086 H 182.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#18786C
RGBrgb(24, 120, 108)
HSLhsl(173, 67%, 28%)
HSVhsv(173, 80%, 47%)
CMYKcmyk(80%, 0%, 10%, 52.9%)
CIE-LABlab(45.23, -29.49, -1.07)
CIE-LCHlch(45.23, 29.51, 182.08°)
OKLaboklab(51.71% -0.086 -0.0034)
OKLCHoklch(51.71% 0.086 182.2)
XYZxyz(9.7986, 14.7086, 16.5071)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18786C #781824
analogous
#18783C #18786C #185478
triadic
#18786C #6C1878 #786C18
tetradic
#18786C #3C1878 #781824 #547818
square
#18786C #3C1878 #781824 #547818
split-complementary
#18786C #781854 #783C18
monochromatic
#051A17 #0E453E #18786C #22AB9A #34D6C2

Accessibility & contrast

On white

5.33
#18786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#18786C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18786C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18786C#FFFFFF#000000##FFFFFF
##18786C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716C
Deuteranopia (green-blind)
#65676D
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18786c;
/* rgb */ color: rgb(24, 120, 108);
/* oklch */ color: oklch(51.7% 0.086 182.2);
Tailwind
colors: {
  custom: {
    50: '#679f96',
    500: '#18786c',
    950: '#000000',
  },
}
SCSS
$custom: #18786c;
$custom-light: #679f96;
$custom-dark: #000000;
JSON
{
  "hex": "#18786c",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 172.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.08605,
    "h": 182.2
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#18786C
secondary
#AD3F4D
accent
#3E54EA
background
#F6F9F9
surface
#EBF2F1
border
#C6CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #18786C

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

Preview Lab → · Contrast checker → · Palette generator →

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