#1F796F#1F796F

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

Color values

HEX#1F796F
RGBrgb(31, 121, 111)
HSLhsl(173, 59%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(74.4%, 0%, 8.3%, 52.5%)
CIE-LABlab(45.79, -28.18, -2.03)
CIE-LCHlch(45.79, 28.25, 184.11°)
OKLaboklab(52.24% -0.0829 -0.0059)
OKLCHoklch(52.24% 0.083 184.1)
XYZxyz(10.2703, 15.1125, 17.4116)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F796F #791F29
analogous
#1F7942 #1F796F #1F5679
triadic
#1F796F #6F1F79 #796F1F
tetradic
#1F796F #421F79 #791F29 #56791F
square
#1F796F #421F79 #791F29 #56791F
split-complementary
#1F796F #791F56 #79421F
monochromatic
#061816 #134842 #1F796F #2BAA9C #43CFBF

Accessibility & contrast

On white

5.22
#1F796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F796F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F796F#FFFFFF#000000##FFFFFF
##1F796F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f796f;
/* rgb */ color: rgb(31, 121, 111);
/* oklch */ color: oklch(52.2% 0.083 184.1);
Tailwind
colors: {
  custom: {
    50: '#6aa098',
    500: '#1f796f',
    950: '#000000',
  },
}
SCSS
$custom: #1f796f;
$custom-light: #6aa098;
$custom-dark: #000000;
JSON
{
  "hex": "#1f796f",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 173.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.08309,
    "h": 184.1
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#1F796F
secondary
#AC4753
accent
#4557E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F796F

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

Preview Lab → · Contrast checker → · Palette generator →

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