#18786A#18786A

#18786A is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.087 H 180.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#18786A
RGBrgb(24, 120, 106)
HSLhsl(171, 67%, 28%)
HSVhsv(171, 80%, 47%)
CMYKcmyk(80%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.17, -30.08, 0.04)
CIE-LCHlch(45.17, 30.08, 179.93°)
OKLaboklab(51.65% -0.087 -0.0004)
OKLCHoklch(51.65% 0.087 180.3)
XYZxyz(9.6934, 14.6665, 15.9529)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18786A #781826
analogous
#18783A #18786A #185678
triadic
#18786A #6A1878 #786A18
tetradic
#18786A #3A1878 #781826 #567818
square
#18786A #3A1878 #781826 #567818
split-complementary
#18786A #781856 #783A18
monochromatic
#051A17 #0E453D #18786A #22AB97 #34D6BF

Accessibility & contrast

On white

5.34
#18786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#18786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18786A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18786A#FFFFFF#000000##FFFFFF
##18786A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727069
Deuteranopia (green-blind)
#66676B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18786a;
/* rgb */ color: rgb(24, 120, 106);
/* oklch */ color: oklch(51.6% 0.087 180.3);
Tailwind
colors: {
  custom: {
    50: '#679f94',
    500: '#18786a',
    950: '#000000',
  },
}
SCSS
$custom: #18786a;
$custom-light: #679f94;
$custom-dark: #000000;
JSON
{
  "hex": "#18786a",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 171.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.08699,
    "h": 180.3
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#18786A
secondary
#AD3F4F
accent
#3E57EA
background
#F6F9F9
surface
#EBF2F1
border
#C6CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #18786A

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

Preview Lab → · Contrast checker → · Palette generator →

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