#18796C#18796C

#18796C is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.087 H 181.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#18796C
RGBrgb(24, 121, 108)
HSLhsl(172, 67%, 28%)
HSVhsv(172, 80%, 47%)
CMYKcmyk(80.2%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.57, -29.96, -0.58)
CIE-LCHlch(45.57, 29.97, 181.11°)
OKLaboklab(51.99% -0.087 -0.0021)
OKLCHoklch(51.99% 0.087 181.4)
XYZxyz(9.9195, 14.9504, 16.5474)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18796C #791825
analogous
#18793B #18796C #185579
triadic
#18796C #6C1879 #796C18
tetradic
#18796C #3B1879 #791825 #557918
square
#18796C #3B1879 #791825 #557918
split-complementary
#18796C #791855 #793B18
monochromatic
#051A17 #0E463E #18796C #22AC9A #35D7C1

Accessibility & contrast

On white

5.26
#18796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#18796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18796C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18796C#FFFFFF#000000##FFFFFF
##18796C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716C
Deuteranopia (green-blind)
#66686D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #18796c;
/* rgb */ color: rgb(24, 121, 108);
/* oklch */ color: oklch(52.0% 0.087 181.4);
Tailwind
colors: {
  custom: {
    50: '#68a096',
    500: '#18796c',
    950: '#000000',
  },
}
SCSS
$custom: #18796c;
$custom-light: #68a096;
$custom-dark: #000000;
JSON
{
  "hex": "#18796c",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 171.959,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.08707,
    "h": 181.4
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#18796C
secondary
#AE3F4E
accent
#3E55EA
background
#F6F9F9
surface
#EBF2F1
border
#C6CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #18796C

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

Preview Lab → · Contrast checker → · Palette generator →

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