#1B796F#1B796F

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

Color values

HEX#1B796F
RGBrgb(27, 121, 111)
HSLhsl(174, 64%, 29%)
HSVhsv(174, 78%, 47%)
CMYKcmyk(77.7%, 0%, 8.3%, 52.5%)
CIE-LABlab(45.71, -28.71, -2.15)
CIE-LCHlch(45.71, 28.79, 184.29°)
OKLaboklab(52.15% -0.0845 -0.0063)
OKLCHoklch(52.15% 0.085 184.3)
XYZxyz(10.1572, 15.0542, 17.4063)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B796F #791B25
analogous
#1B7940 #1B796F #1B5479
triadic
#1B796F #6F1B79 #796F1B
tetradic
#1B796F #401B79 #791B25 #54791B
square
#1B796F #401B79 #791B25 #54791B
split-complementary
#1B796F #791B54 #79401B
monochromatic
#061917 #104741 #1B796F #26AB9D #3BD3C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B796F#FFFFFF#000000##FFFFFF
##1B796F1.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)
#73726F
Deuteranopia (green-blind)
#666870
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b796f;
/* rgb */ color: rgb(27, 121, 111);
/* oklch */ color: oklch(52.1% 0.085 184.3);
Tailwind
colors: {
  custom: {
    50: '#69a098',
    500: '#1b796f',
    950: '#000000',
  },
}
SCSS
$custom: #1b796f;
$custom-light: #69a098;
$custom-dark: #000000;
JSON
{
  "hex": "#1b796f",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 173.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.08471,
    "h": 184.3
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#1B796F
secondary
#AD434E
accent
#4153E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1B796F

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

Preview Lab → · Contrast checker → · Palette generator →

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