#1F786E#1F786E

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

Color values

HEX#1F786E
RGBrgb(31, 120, 110)
HSLhsl(173, 59%, 30%)
HSVhsv(173, 74%, 47%)
CMYKcmyk(74.2%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.43, -27.98, -1.96)
CIE-LCHlch(45.43, 28.05, 184.01°)
OKLaboklab(51.93% -0.0823 -0.0057)
OKLCHoklch(51.93% 0.082 184)
XYZxyz(10.0947, 14.8488, 17.0829)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786E #781F29
analogous
#1F7841 #1F786E #1F5678
triadic
#1F786E #6E1F78 #786E1F
tetradic
#1F786E #411F78 #781F29 #56781F
square
#1F786E #411F78 #781F29 #56781F
split-complementary
#1F786E #781F56 #78411F
monochromatic
#061816 #124741 #1F786E #2CA99B #43CEBF

Accessibility & contrast

On white

5.29
#1F786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F786E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F786E#FFFFFF#000000##FFFFFF
##1F786E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#65686F
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f786e;
/* rgb */ color: rgb(31, 120, 110);
/* oklch */ color: oklch(51.9% 0.082 184.0);
Tailwind
colors: {
  custom: {
    50: '#6a9f97',
    500: '#1f786e',
    950: '#000000',
  },
}
SCSS
$custom: #1f786e;
$custom-light: #6a9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786e",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 173.258,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.08249,
    "h": 184
  },
  "luminance": 0.1485
}

Semantic roles & 50–950 ramp

primary
#1F786E
secondary
#AB4753
accent
#4657E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786E

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

Preview Lab → · Contrast checker → · Palette generator →

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