#1F7976#1F7976

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

Color values

HEX#1F7976
RGBrgb(31, 121, 118)
HSLhsl(178, 59%, 30%)
HSVhsv(178, 74%, 47%)
CMYKcmyk(74.4%, 0%, 2.5%, 52.5%)
CIE-LABlab(46.01, -26.06, -5.87)
CIE-LCHlch(46.01, 26.71, 192.69°)
OKLaboklab(52.48% -0.0795 -0.0164)
OKLCHoklch(52.48% 0.081 191.6)
XYZxyz(10.6709, 15.2728, 19.5216)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7976 #791F22
analogous
#1F7949 #1F7976 #1F4F79
triadic
#1F7976 #761F79 #79761F
tetradic
#1F7976 #491F79 #791F22 #4F791F
square
#1F7976 #491F79 #791F22 #4F791F
split-complementary
#1F7976 #791F4F #79491F
monochromatic
#061818 #134846 #1F7976 #2BAAA6 #43CFCA

Accessibility & contrast

On white

5.18
#1F7976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1F7976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7976
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7976#FFFFFF#000000##FFFFFF
##1F79761.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717376
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7976;
/* rgb */ color: rgb(31, 121, 118);
/* oklch */ color: oklch(52.5% 0.081 191.6);
Tailwind
colors: {
  custom: {
    50: '#6ba09d',
    500: '#1f7976',
    950: '#000000',
  },
}
SCSS
$custom: #1f7976;
$custom-light: #6ba09d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7976",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 118
  },
  "hsl": {
    "h": 178,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.08113,
    "h": 191.6
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#1F7976
secondary
#AC474B
accent
#454BE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7976

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

Preview Lab → · Contrast checker → · Palette generator →

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