#1F7771#1F7771

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

Color values

HEX#1F7771
RGBrgb(31, 119, 113)
HSLhsl(176, 59%, 29%)
HSVhsv(176, 74%, 47%)
CMYKcmyk(73.9%, 0%, 5%, 53.3%)
CIE-LABlab(45.19, -26.59, -4.10)
CIE-LCHlch(45.19, 26.91, 188.77°)
OKLaboklab(51.77% -0.0797 -0.0115)
OKLCHoklch(51.77% 0.081 188.2)
XYZxyz(10.1411, 14.6760, 17.9179)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7771 #771F25
analogous
#1F7745 #1F7771 #1F5177
triadic
#1F7771 #711F77 #77711F
tetradic
#1F7771 #451F77 #771F25 #51771F
square
#1F7771 #451F77 #771F25 #51771F
split-complementary
#1F7771 #771F51 #77451F
monochromatic
#061817 #124643 #1F7771 #2CA89F #43CEC4

Accessibility & contrast

On white

5.34
#1F7771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7771
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7771#FFFFFF#000000##FFFFFF
##1F77711.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7771;
/* rgb */ color: rgb(31, 119, 113);
/* oklch */ color: oklch(51.8% 0.081 188.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e99',
    500: '#1f7771',
    950: '#000000',
  },
}
SCSS
$custom: #1f7771;
$custom-light: #6a9e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7771",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 113
  },
  "hsl": {
    "h": 175.909,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.08055,
    "h": 188.2
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#1F7771
secondary
#AB474E
accent
#4651E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7771

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

Preview Lab → · Contrast checker → · Palette generator →

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