#18796B#18796B

#18796B is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.088 H 180.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#18796B
RGBrgb(24, 121, 107)
HSLhsl(171, 67%, 28%)
HSVhsv(171, 80%, 47%)
CMYKcmyk(80.2%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.54, -30.26, -0.03)
CIE-LCHlch(45.54, 30.26, 180.05°)
OKLaboklab(51.95% -0.0875 -0.0006)
OKLCHoklch(51.95% 0.088 180.4)
XYZxyz(9.8666, 14.9293, 16.2687)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18796B #791826
analogous
#18793A #18796B #185679
triadic
#18796B #6B1879 #796B18
tetradic
#18796B #3A1879 #791826 #567918
square
#18796B #3A1879 #791826 #567918
split-complementary
#18796B #791856 #793A18
monochromatic
#051A17 #0E463E #18796B #22AC98 #35D7BF

Accessibility & contrast

On white

5.27
#18796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18796B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18796B#FFFFFF#000000##FFFFFF
##18796B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18796b;
/* rgb */ color: rgb(24, 121, 107);
/* oklch */ color: oklch(52.0% 0.088 180.4);
Tailwind
colors: {
  custom: {
    50: '#67a095',
    500: '#18796b',
    950: '#000000',
  },
}
SCSS
$custom: #18796b;
$custom-light: #67a095;
$custom-dark: #000000;
JSON
{
  "hex": "#18796b",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 171.34,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.08755,
    "h": 180.4
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#18796B
secondary
#AE3F4F
accent
#3E57EA
background
#F6F9F9
surface
#EBF2F1
border
#C6CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #18796B

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

Preview Lab → · Contrast checker → · Palette generator →

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