#1F7979#1F7979

#1F7979 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.081 H 195.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F7979
RGBrgb(31, 121, 121)
HSLhsl(180, 59%, 30%)
HSVhsv(180, 74%, 47%)
CMYKcmyk(74.4%, 0%, 0%, 52.5%)
CIE-LABlab(46.10, -25.12, -7.51)
CIE-LCHlch(46.10, 26.22, 196.64°)
OKLaboklab(52.6% -0.078 -0.0209)
OKLCHoklch(52.6% 0.081 195)
XYZxyz(10.8521, 15.3452, 20.4754)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7979 #791F1F
analogous
#1F794C #1F7979 #1F4C79
triadic
#1F7979 #791F79 #79791F
tetradic
#1F7979 #4C1F79 #791F1F #4C791F
square
#1F7979 #4C1F79 #791F1F #4C791F
split-complementary
#1F7979 #791F4C #794C1F
monochromatic
#061818 #134848 #1F7979 #2BAAAA #43CFCF

Accessibility & contrast

On white

5.16
#1F7979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F7979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7979
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7979#FFFFFF#000000##FFFFFF
##1F79791.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7979;
/* rgb */ color: rgb(31, 121, 121);
/* oklch */ color: oklch(52.6% 0.081 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ba09f',
    500: '#1f7979',
    950: '#000000',
  },
}
SCSS
$custom: #1f7979;
$custom-light: #6ba09f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7979",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 121
  },
  "hsl": {
    "h": 180,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.08078,
    "h": 195
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#1F7979
secondary
#AC4747
accent
#4545E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7979

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

Preview Lab → · Contrast checker → · Palette generator →

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