#1F7772#1F7772

#1F7772 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.8% C 0.080 H 189.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1F7772
RGBrgb(31, 119, 114)
HSLhsl(177, 59%, 29%)
HSVhsv(177, 74%, 47%)
CMYKcmyk(73.9%, 0%, 4.2%, 53.3%)
CIE-LABlab(45.22, -26.29, -4.65)
CIE-LCHlch(45.22, 26.69, 190.04°)
OKLaboklab(51.8% -0.0792 -0.013)
OKLCHoklch(51.8% 0.08 189.4)
XYZxyz(10.1977, 14.6987, 18.2160)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7772 #771F24
analogous
#1F7746 #1F7772 #1F5077
triadic
#1F7772 #721F77 #77721F
tetradic
#1F7772 #461F77 #771F24 #50771F
square
#1F7772 #461F77 #771F24 #50771F
split-complementary
#1F7772 #771F50 #77461F
monochromatic
#061817 #124643 #1F7772 #2CA8A1 #43CEC6

Accessibility & contrast

On white

5.33
#1F7772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F7772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7772
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7772#FFFFFF#000000##FFFFFF
##1F77721.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707072
Deuteranopia (green-blind)
#636773
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f7772;
/* rgb */ color: rgb(31, 119, 114);
/* oklch */ color: oklch(51.8% 0.080 189.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e9a',
    500: '#1f7772',
    950: '#000000',
  },
}
SCSS
$custom: #1f7772;
$custom-light: #6a9e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7772",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 114
  },
  "hsl": {
    "h": 176.591,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.0803,
    "h": 189.4
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#1F7772
secondary
#AB474D
accent
#464FE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7772

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

Preview Lab → · Contrast checker → · Palette generator →

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