#1B796C#1B796C

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

Color values

HEX#1B796C
RGBrgb(27, 121, 108)
HSLhsl(172, 64%, 29%)
HSVhsv(172, 78%, 47%)
CMYKcmyk(77.7%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.62, -29.60, -0.50)
CIE-LCHlch(45.62, 29.60, 180.96°)
OKLaboklab(52.04% -0.086 -0.0018)
OKLCHoklch(52.04% 0.086 181.2)
XYZxyz(9.9948, 14.9893, 16.5509)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796C #791B28
analogous
#1B793D #1B796C #1B5779
triadic
#1B796C #6C1B79 #796C1B
tetradic
#1B796C #3D1B79 #791B28 #57791B
square
#1B796C #3D1B79 #791B28 #57791B
split-complementary
#1B796C #791B57 #793D1B
monochromatic
#061916 #10473F #1B796C #26AB99 #3BD3BE

Accessibility & contrast

On white

5.25
#1B796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1B796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B796C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B796C#FFFFFF#000000##FFFFFF
##1B796C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b796c;
/* rgb */ color: rgb(27, 121, 108);
/* oklch */ color: oklch(52.0% 0.086 181.2);
Tailwind
colors: {
  custom: {
    50: '#68a096',
    500: '#1b796c',
    950: '#000000',
  },
}
SCSS
$custom: #1b796c;
$custom-light: #68a096;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796c",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 171.702,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.08599,
    "h": 181.2
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#1B796C
secondary
#AD4351
accent
#4158E7
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796C

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

Preview Lab → · Contrast checker → · Palette generator →

#1B796C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva