#1F786F#1F786F

#1F786F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.082 H 185.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1F786F
RGBrgb(31, 120, 111)
HSLhsl(174, 59%, 30%)
HSVhsv(174, 74%, 47%)
CMYKcmyk(74.2%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.46, -27.69, -2.51)
CIE-LCHlch(45.46, 27.80, 185.19°)
OKLaboklab(51.97% -0.0818 -0.0072)
OKLCHoklch(51.97% 0.082 185.1)
XYZxyz(10.1494, 14.8707, 17.3713)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F786F #781F28
analogous
#1F7843 #1F786F #1F5478
triadic
#1F786F #6F1F78 #786F1F
tetradic
#1F786F #431F78 #781F28 #54781F
square
#1F786F #431F78 #781F28 #54781F
split-complementary
#1F786F #781F54 #78431F
monochromatic
#061816 #124742 #1F786F #2CA99C #43CEC0

Accessibility & contrast

On white

5.28
#1F786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F786F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F786F#FFFFFF#000000##FFFFFF
##1F786F1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f786f;
/* rgb */ color: rgb(31, 120, 111);
/* oklch */ color: oklch(52.0% 0.082 185.1);
Tailwind
colors: {
  custom: {
    50: '#6a9f98',
    500: '#1f786f',
    950: '#000000',
  },
}
SCSS
$custom: #1f786f;
$custom-light: #6a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f786f",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.933,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.08211,
    "h": 185.1
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#1F786F
secondary
#AB4751
accent
#4655E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1F786F

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

Preview Lab → · Contrast checker → · Palette generator →

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