#1F786C#1F786C

#1F786C is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.083 H 181.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1F786C
RGBrgb(31, 120, 108)
HSLhsl(172, 59%, 30%)
HSVhsv(172, 74%, 47%)
CMYKcmyk(74.2%, 0%, 10%, 52.9%)
CIE-LABlab(45.37, -28.57, -0.86)
CIE-LCHlch(45.37, 28.59, 181.72°)
OKLaboklab(51.86% -0.0833 -0.0028)
OKLCHoklch(51.86% 0.083 181.9)
XYZxyz(9.9870, 14.8058, 16.5159)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786C #781F2B
analogous
#1F7840 #1F786C #1F5878
triadic
#1F786C #6C1F78 #786C1F
tetradic
#1F786C #401F78 #781F2B #58781F
square
#1F786C #401F78 #781F2B #58781F
split-complementary
#1F786C #781F58 #78401F
monochromatic
#061816 #124740 #1F786C #2CA998 #43CEBC

Accessibility & contrast

On white

5.30
#1F786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F786C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F786C#FFFFFF#000000##FFFFFF
##1F786C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f786c;
/* rgb */ color: rgb(31, 120, 108);
/* oklch */ color: oklch(51.9% 0.083 181.9);
Tailwind
colors: {
  custom: {
    50: '#699f96',
    500: '#1f786c',
    950: '#000000',
  },
}
SCSS
$custom: #1f786c;
$custom-light: #699f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 171.91,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.08333,
    "h": 181.9
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#1F786C
secondary
#AB4755
accent
#465BE2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786C

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

Preview Lab → · Contrast checker → · Palette generator →

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