#1B796B#1B796B

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

Color values

HEX#1B796B
RGBrgb(27, 121, 107)
HSLhsl(171, 64%, 29%)
HSVhsv(171, 78%, 47%)
CMYKcmyk(77.7%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.59, -29.89, 0.06)
CIE-LCHlch(45.59, 29.89, 179.89°)
OKLaboklab(52.01% -0.0865 -0.0003)
OKLCHoklch(52.01% 0.086 180.2)
XYZxyz(9.9419, 14.9681, 16.2722)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796B #791B29
analogous
#1B793C #1B796B #1B5879
triadic
#1B796B #6B1B79 #796B1B
tetradic
#1B796B #3C1B79 #791B29 #58791B
square
#1B796B #3C1B79 #791B29 #58791B
split-complementary
#1B796B #791B58 #793C1B
monochromatic
#061916 #10473F #1B796B #26AB97 #3BD3BD

Accessibility & contrast

On white

5.26
#1B796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1B796B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B796B#FFFFFF#000000##FFFFFF
##1B796B1.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)
#73716A
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b796b;
/* rgb */ color: rgb(27, 121, 107);
/* oklch */ color: oklch(52.0% 0.086 180.2);
Tailwind
colors: {
  custom: {
    50: '#68a095',
    500: '#1b796b',
    950: '#000000',
  },
}
SCSS
$custom: #1b796b;
$custom-light: #68a095;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796b",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 171.064,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.08648,
    "h": 180.2
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#1B796B
secondary
#AD4352
accent
#415AE7
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796B

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

Preview Lab → · Contrast checker → · Palette generator →

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