#1F796E#1F796E

#1F796E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.084 H 183.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F796E
RGBrgb(31, 121, 110)
HSLhsl(173, 59%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(74.4%, 0%, 9.1%, 52.5%)
CIE-LABlab(45.76, -28.47, -1.47)
CIE-LCHlch(45.76, 28.51, 182.96°)
OKLaboklab(52.2% -0.0834 -0.0044)
OKLCHoklch(52.2% 0.084 183)
XYZxyz(10.2156, 15.0906, 17.1232)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F796E #791F2A
analogous
#1F7941 #1F796E #1F5779
triadic
#1F796E #6E1F79 #796E1F
tetradic
#1F796E #411F79 #791F2A #57791F
square
#1F796E #411F79 #791F2A #57791F
split-complementary
#1F796E #791F57 #79411F
monochromatic
#061816 #134842 #1F796E #2BAA9A #43CFBE

Accessibility & contrast

On white

5.23
#1F796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F796E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F796E#FFFFFF#000000##FFFFFF
##1F796E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.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: #1f796e;
/* rgb */ color: rgb(31, 121, 110);
/* oklch */ color: oklch(52.2% 0.084 183.0);
Tailwind
colors: {
  custom: {
    50: '#6aa097',
    500: '#1f796e',
    950: '#000000',
  },
}
SCSS
$custom: #1f796e;
$custom-light: #6aa097;
$custom-dark: #000000;
JSON
{
  "hex": "#1f796e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 172.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.0835,
    "h": 183
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#1F796E
secondary
#AC4754
accent
#4559E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F796E

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

Preview Lab → · Contrast checker → · Palette generator →

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