#1D796C#1D796C

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

Color values

HEX#1D796C
RGBrgb(29, 121, 108)
HSLhsl(172, 61%, 29%)
HSVhsv(172, 76%, 47%)
CMYKcmyk(76%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.66, -29.34, -0.44)
CIE-LCHlch(45.66, 29.34, 180.85°)
OKLaboklab(52.09% -0.0852 -0.0017)
OKLCHoklch(52.09% 0.085 181.1)
XYZxyz(10.0495, 15.0175, 16.5535)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D796C #791D2A
analogous
#1D793E #1D796C #1D5879
triadic
#1D796C #6C1D79 #796C1D
tetradic
#1D796C #3E1D79 #791D2A #58791D
square
#1D796C #3E1D79 #791D2A #58791D
split-complementary
#1D796C #791D58 #793E1D
monochromatic
#061916 #114840 #1D796C #29AA98 #3FD1BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D796C#FFFFFF#000000##FFFFFF
##1D796C1.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: #1d796c;
/* rgb */ color: rgb(29, 121, 108);
/* oklch */ color: oklch(52.1% 0.085 181.1);
Tailwind
colors: {
  custom: {
    50: '#69a096',
    500: '#1d796c',
    950: '#000000',
  },
}
SCSS
$custom: #1d796c;
$custom-light: #69a096;
$custom-dark: #000000;
JSON
{
  "hex": "#1d796c",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 171.522,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.08522,
    "h": 181.1
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#1D796C
secondary
#AD4554
accent
#435AE4
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1D796C

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

Preview Lab → · Contrast checker → · Palette generator →

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