#1B786E#1B786E

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

Color values

HEX#1B786E
RGBrgb(27, 120, 110)
HSLhsl(174, 63%, 29%)
HSVhsv(174, 78%, 47%)
CMYKcmyk(77.5%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.35, -28.52, -2.09)
CIE-LCHlch(45.35, 28.60, 184.19°)
OKLaboklab(51.84% -0.0839 -0.0061)
OKLCHoklch(51.84% 0.084 184.2)
XYZxyz(9.9816, 14.7905, 17.0776)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B786E #781B25
analogous
#1B7840 #1B786E #1B5478
triadic
#1B786E #6E1B78 #786E1B
tetradic
#1B786E #401B78 #781B25 #54781B
square
#1B786E #401B78 #781B25 #54781B
split-complementary
#1B786E #781B54 #78401B
monochromatic
#061917 #104640 #1B786E #26AA9C #3BD3C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B786E#FFFFFF#000000##FFFFFF
##1B786E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b786e;
/* rgb */ color: rgb(27, 120, 110);
/* oklch */ color: oklch(51.8% 0.084 184.2);
Tailwind
colors: {
  custom: {
    50: '#689f97',
    500: '#1b786e',
    950: '#000000',
  },
}
SCSS
$custom: #1b786e;
$custom-light: #689f97;
$custom-dark: #000000;
JSON
{
  "hex": "#1b786e",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 173.548,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.08412,
    "h": 184.2
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#1B786E
secondary
#AC434E
accent
#4153E6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1B786E

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

Preview Lab → · Contrast checker → · Palette generator →

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