#1B796A#1B796A

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

Color values

HEX#1B796A
RGBrgb(27, 121, 106)
HSLhsl(170, 64%, 29%)
HSVhsv(170, 78%, 47%)
CMYKcmyk(77.7%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.56, -30.18, 0.61)
CIE-LCHlch(45.56, 30.19, 178.85°)
OKLaboklab(51.98% -0.087 0.0011)
OKLCHoklch(51.98% 0.087 179.3)
XYZxyz(9.8896, 14.9472, 15.9967)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796A #791B2A
analogous
#1B793B #1B796A #1B5979
triadic
#1B796A #6A1B79 #796A1B
tetradic
#1B796A #3B1B79 #791B2A #59791B
square
#1B796A #3B1B79 #791B2A #59791B
split-complementary
#1B796A #791B59 #793B1B
monochromatic
#061916 #10473E #1B796A #26AB96 #3BD3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B796A#FFFFFF#000000##FFFFFF
##1B796A1.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)
#747169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b796a;
/* rgb */ color: rgb(27, 121, 106);
/* oklch */ color: oklch(52.0% 0.087 179.3);
Tailwind
colors: {
  custom: {
    50: '#68a094',
    500: '#1b796a',
    950: '#000000',
  },
}
SCSS
$custom: #1b796a;
$custom-light: #68a094;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796a",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 170.426,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.08699,
    "h": 179.3
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#1B796A
secondary
#AD4354
accent
#415CE7
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796A

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

Preview Lab → · Contrast checker → · Palette generator →

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