#1F786B#1F786B

#1F786B is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.084 H 180.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F786B
RGBrgb(31, 120, 107)
HSLhsl(171, 59%, 30%)
HSVhsv(171, 74%, 47%)
CMYKcmyk(74.2%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.34, -28.86, -0.30)
CIE-LCHlch(45.34, 28.87, 180.60°)
OKLaboklab(51.83% -0.0838 -0.0013)
OKLCHoklch(51.83% 0.084 180.9)
XYZxyz(9.9341, 14.7846, 16.2372)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786B #781F2C
analogous
#1F783F #1F786B #1F5978
triadic
#1F786B #6B1F78 #786B1F
tetradic
#1F786B #3F1F78 #781F2C #59781F
square
#1F786B #3F1F78 #781F2C #59781F
split-complementary
#1F786B #781F59 #783F1F
monochromatic
#061816 #124740 #1F786B #2CA996 #43CEBA

Accessibility & contrast

On white

5.31
#1F786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1F786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F786B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F786B#FFFFFF#000000##FFFFFF
##1F786B1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716B
Deuteranopia (green-blind)
#66686C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f786b;
/* rgb */ color: rgb(31, 120, 107);
/* oklch */ color: oklch(51.8% 0.084 180.9);
Tailwind
colors: {
  custom: {
    50: '#699f95',
    500: '#1f786b',
    950: '#000000',
  },
}
SCSS
$custom: #1f786b;
$custom-light: #699f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786b",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 171.236,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.08379,
    "h": 180.9
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#1F786B
secondary
#AB4756
accent
#465DE2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786B

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

Preview Lab → · Contrast checker → · Palette generator →

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