#1B796E#1B796E

#1B796E is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.085 H 183.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1B796E
RGBrgb(27, 121, 110)
HSLhsl(173, 64%, 29%)
HSVhsv(173, 78%, 47%)
CMYKcmyk(77.7%, 0%, 9.1%, 52.5%)
CIE-LABlab(45.68, -29.01, -1.60)
CIE-LCHlch(45.68, 29.05, 183.16°)
OKLaboklab(52.11% -0.085 -0.0048)
OKLCHoklch(52.11% 0.085 183.2)
XYZxyz(10.1025, 15.0323, 17.1179)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796E #791B26
analogous
#1B793F #1B796E #1B5579
triadic
#1B796E #6E1B79 #796E1B
tetradic
#1B796E #3F1B79 #791B26 #55791B
square
#1B796E #3F1B79 #791B26 #55791B
split-complementary
#1B796E #791B55 #793F1B
monochromatic
#061917 #104741 #1B796E #26AB9B #3BD3C1

Accessibility & contrast

On white

5.24
#1B796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B796E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B796E#FFFFFF#000000##FFFFFF
##1B796E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726E
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b796e;
/* rgb */ color: rgb(27, 121, 110);
/* oklch */ color: oklch(52.1% 0.085 183.2);
Tailwind
colors: {
  custom: {
    50: '#69a097',
    500: '#1b796e',
    950: '#000000',
  },
}
SCSS
$custom: #1b796e;
$custom-light: #69a097;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796e",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 172.979,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.0851,
    "h": 183.2
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#1B796E
secondary
#AD434F
accent
#4155E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796E

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

Preview Lab → · Contrast checker → · Palette generator →

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