#1B796D#1B796D

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

Color values

HEX#1B796D
RGBrgb(27, 121, 109)
HSLhsl(172, 64%, 29%)
HSVhsv(172, 78%, 47%)
CMYKcmyk(77.7%, 0%, 9.9%, 52.5%)
CIE-LABlab(45.65, -29.31, -1.05)
CIE-LCHlch(45.65, 29.32, 182.05°)
OKLaboklab(52.08% -0.0855 -0.0033)
OKLCHoklch(52.08% 0.086 182.2)
XYZxyz(10.0483, 15.0107, 16.8328)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796D #791B27
analogous
#1B793E #1B796D #1B5679
triadic
#1B796D #6D1B79 #796D1B
tetradic
#1B796D #3E1B79 #791B27 #56791B
square
#1B796D #3E1B79 #791B27 #56791B
split-complementary
#1B796D #791B56 #793E1B
monochromatic
#061917 #104740 #1B796D #26AB9A #3BD3C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B796D#FFFFFF#000000##FFFFFF
##1B796D1.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)
#73726D
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b796d;
/* rgb */ color: rgb(27, 121, 109);
/* oklch */ color: oklch(52.1% 0.086 182.2);
Tailwind
colors: {
  custom: {
    50: '#68a096',
    500: '#1b796d',
    950: '#000000',
  },
}
SCSS
$custom: #1b796d;
$custom-light: #68a096;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796d",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 172.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.08553,
    "h": 182.2
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#1B796D
secondary
#AD4350
accent
#4156E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796D

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

Preview Lab → · Contrast checker → · Palette generator →

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