#1F786A#1F786A

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

Color values

HEX#1F786A
RGBrgb(31, 120, 106)
HSLhsl(171, 59%, 30%)
HSVhsv(171, 74%, 47%)
CMYKcmyk(74.2%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.31, -29.15, 0.25)
CIE-LCHlch(45.31, 29.15, 179.51°)
OKLaboklab(51.8% -0.0843 0.0002)
OKLCHoklch(51.8% 0.084 179.9)
XYZxyz(9.8818, 14.7637, 15.9618)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786A #781F2D
analogous
#1F783E #1F786A #1F5A78
triadic
#1F786A #6A1F78 #786A1F
tetradic
#1F786A #3E1F78 #781F2D #5A781F
square
#1F786A #3E1F78 #781F2D #5A781F
split-complementary
#1F786A #781F5A #783E1F
monochromatic
#061815 #12473F #1F786A #2CA995 #43CEB8

Accessibility & contrast

On white

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

On black

3.95
#1F786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F786A#FFFFFF#000000##FFFFFF
##1F786A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737069
Deuteranopia (green-blind)
#66676B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f786a;
/* rgb */ color: rgb(31, 120, 106);
/* oklch */ color: oklch(51.8% 0.084 179.9);
Tailwind
colors: {
  custom: {
    50: '#699f94',
    500: '#1f786a',
    950: '#000000',
  },
}
SCSS
$custom: #1f786a;
$custom-light: #699f94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786a",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 170.562,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.08428,
    "h": 179.9
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#1F786A
secondary
#AB4757
accent
#465EE2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786A

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

Preview Lab → · Contrast checker → · Palette generator →

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