#18786F#18786F

#18786F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.085 H 185.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#18786F
RGBrgb(24, 120, 111)
HSLhsl(174, 67%, 28%)
HSVhsv(174, 80%, 47%)
CMYKcmyk(80%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.32, -28.59, -2.73)
CIE-LCHlch(45.32, 28.72, 185.45°)
OKLaboklab(51.82% -0.0845 -0.0078)
OKLCHoklch(51.82% 0.085 185.3)
XYZxyz(9.9610, 14.7736, 17.3624)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18786F #781821
analogous
#18783F #18786F #185178
triadic
#18786F #6F1878 #786F18
tetradic
#18786F #3F1878 #781821 #517818
square
#18786F #3F1878 #781821 #517818
split-complementary
#18786F #781851 #783F18
monochromatic
#051A18 #0E4540 #18786F #22AB9E #34D6C7

Accessibility & contrast

On white

5.31
#18786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#18786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18786F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18786F#FFFFFF#000000##FFFFFF
##18786F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71716F
Deuteranopia (green-blind)
#646770
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #18786f;
/* rgb */ color: rgb(24, 120, 111);
/* oklch */ color: oklch(51.8% 0.085 185.3);
Tailwind
colors: {
  custom: {
    50: '#689f98',
    500: '#18786f',
    950: '#000000',
  },
}
SCSS
$custom: #18786f;
$custom-light: #689f98;
$custom-dark: #000000;
JSON
{
  "hex": "#18786f",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 174.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.08484,
    "h": 185.3
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#18786F
secondary
#AD3F49
accent
#3E4EEA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #18786F

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

Preview Lab → · Contrast checker → · Palette generator →

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