#1F796A#1F796A

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

Color values

HEX#1F796A
RGBrgb(31, 121, 106)
HSLhsl(170, 59%, 30%)
HSVhsv(170, 74%, 47%)
CMYKcmyk(74.4%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.64, -29.63, 0.73)
CIE-LCHlch(45.64, 29.64, 178.58°)
OKLaboklab(52.07% -0.0854 0.0015)
OKLCHoklch(52.07% 0.085 179)
XYZxyz(10.0027, 15.0055, 16.0021)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F796A #791F2E
analogous
#1F793D #1F796A #1F5B79
triadic
#1F796A #6A1F79 #796A1F
tetradic
#1F796A #3D1F79 #791F2E #5B791F
square
#1F796A #3D1F79 #791F2E #5B791F
split-complementary
#1F796A #791F5B #793D1F
monochromatic
#061815 #13483F #1F796A #2BAA95 #43CFB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F796A#FFFFFF#000000##FFFFFF
##1F796A1.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)
#747169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f796a;
/* rgb */ color: rgb(31, 121, 106);
/* oklch */ color: oklch(52.1% 0.085 179.0);
Tailwind
colors: {
  custom: {
    50: '#69a094',
    500: '#1f796a',
    950: '#000000',
  },
}
SCSS
$custom: #1f796a;
$custom-light: #69a094;
$custom-dark: #000000;
JSON
{
  "hex": "#1f796a",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 170,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.08539,
    "h": 179
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#1F796A
secondary
#AC4758
accent
#4560E2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F796A

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

Preview Lab → · Contrast checker → · Palette generator →

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