#1B786C#1B786C

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

Color values

HEX#1B786C
RGBrgb(27, 120, 108)
HSLhsl(172, 63%, 29%)
HSVhsv(172, 78%, 47%)
CMYKcmyk(77.5%, 0%, 10%, 52.9%)
CIE-LABlab(45.29, -29.12, -0.98)
CIE-LCHlch(45.29, 29.14, 181.94°)
OKLaboklab(51.77% -0.0849 -0.0031)
OKLCHoklch(51.77% 0.085 182.1)
XYZxyz(9.8739, 14.7475, 16.5106)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B786C #781B27
analogous
#1B783E #1B786C #1B5678
triadic
#1B786C #6C1B78 #786C1B
tetradic
#1B786C #3E1B78 #781B27 #56781B
square
#1B786C #3E1B78 #781B27 #56781B
split-complementary
#1B786C #781B56 #783E1B
monochromatic
#061916 #10463F #1B786C #26AA99 #3BD3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B786C#FFFFFF#000000##FFFFFF
##1B786C1.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)
#72716C
Deuteranopia (green-blind)
#65676D
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b786c;
/* rgb */ color: rgb(27, 120, 108);
/* oklch */ color: oklch(51.8% 0.085 182.1);
Tailwind
colors: {
  custom: {
    50: '#689f96',
    500: '#1b786c',
    950: '#000000',
  },
}
SCSS
$custom: #1b786c;
$custom-light: #689f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b786c",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 172.258,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.08496,
    "h": 182.1
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#1B786C
secondary
#AC4350
accent
#4157E6
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1B786C

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

Preview Lab → · Contrast checker → · Palette generator →

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