#1F786D#1F786D

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

Color values

HEX#1F786D
RGBrgb(31, 120, 109)
HSLhsl(173, 59%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(74.2%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.40, -28.28, -1.41)
CIE-LCHlch(45.40, 28.31, 182.85°)
OKLaboklab(51.9% -0.0828 -0.0043)
OKLCHoklch(51.9% 0.083 182.9)
XYZxyz(10.0405, 14.8272, 16.7978)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786D #781F2A
analogous
#1F7841 #1F786D #1F5778
triadic
#1F786D #6D1F78 #786D1F
tetradic
#1F786D #411F78 #781F2A #57781F
square
#1F786D #411F78 #781F2A #57781F
split-complementary
#1F786D #781F57 #78411F
monochromatic
#061816 #124741 #1F786D #2CA999 #43CEBD

Accessibility & contrast

On white

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

On black

3.97
#1F786D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F786D#FFFFFF#000000##FFFFFF
##1F786D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f786d;
/* rgb */ color: rgb(31, 120, 109);
/* oklch */ color: oklch(51.9% 0.083 182.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f96',
    500: '#1f786d',
    950: '#000000',
  },
}
SCSS
$custom: #1f786d;
$custom-light: #6a9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786d",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 172.584,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.08289,
    "h": 182.9
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#1F786D
secondary
#AB4754
accent
#4659E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786D

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

Preview Lab → · Contrast checker → · Palette generator →

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