#1B786B#1B786B

#1B786B is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.085 H 181.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1B786B
RGBrgb(27, 120, 107)
HSLhsl(172, 63%, 29%)
HSVhsv(172, 78%, 47%)
CMYKcmyk(77.5%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.26, -29.41, -0.43)
CIE-LCHlch(45.26, 29.42, 180.84°)
OKLaboklab(51.74% -0.0854 -0.0016)
OKLCHoklch(51.74% 0.085 181.1)
XYZxyz(9.8210, 14.7263, 16.2319)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B786B #781B28
analogous
#1B783D #1B786B #1B5778
triadic
#1B786B #6B1B78 #786B1B
tetradic
#1B786B #3D1B78 #781B28 #57781B
square
#1B786B #3D1B78 #781B28 #57781B
split-complementary
#1B786B #781B57 #783D1B
monochromatic
#061916 #10463E #1B786B #26AA98 #3BD3BE

Accessibility & contrast

On white

5.32
#1B786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B786B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B786B#FFFFFF#000000##FFFFFF
##1B786B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b786b;
/* rgb */ color: rgb(27, 120, 107);
/* oklch */ color: oklch(51.7% 0.085 181.1);
Tailwind
colors: {
  custom: {
    50: '#689f95',
    500: '#1b786b',
    950: '#000000',
  },
}
SCSS
$custom: #1b786b;
$custom-light: #689f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b786b",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 171.613,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.08542,
    "h": 181.1
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#1B786B
secondary
#AC4351
accent
#4159E6
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1B786B

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

Preview Lab → · Contrast checker → · Palette generator →

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