#1B786D#1B786D

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

Color values

HEX#1B786D
RGBrgb(27, 120, 109)
HSLhsl(173, 63%, 29%)
HSVhsv(173, 78%, 47%)
CMYKcmyk(77.5%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.32, -28.82, -1.54)
CIE-LCHlch(45.32, 28.86, 183.05°)
OKLaboklab(51.81% -0.0844 -0.0046)
OKLCHoklch(51.81% 0.085 183.1)
XYZxyz(9.9274, 14.7689, 16.7925)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B786D #781B26
analogous
#1B783F #1B786D #1B5578
triadic
#1B786D #6D1B78 #786D1B
tetradic
#1B786D #3F1B78 #781B26 #55781B
square
#1B786D #3F1B78 #781B26 #55781B
split-complementary
#1B786D #781B55 #783F1B
monochromatic
#061917 #104640 #1B786D #26AA9A #3BD3C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B786D#FFFFFF#000000##FFFFFF
##1B786D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b786d;
/* rgb */ color: rgb(27, 120, 109);
/* oklch */ color: oklch(51.8% 0.085 183.1);
Tailwind
colors: {
  custom: {
    50: '#689f96',
    500: '#1b786d',
    950: '#000000',
  },
}
SCSS
$custom: #1b786d;
$custom-light: #689f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b786d",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 172.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.08453,
    "h": 183.1
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#1B786D
secondary
#AC434F
accent
#4155E6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1B786D

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

Preview Lab → · Contrast checker → · Palette generator →

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