#2B786B#2B786B

#2B786B is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.078 H 180.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B786B
RGBrgb(43, 120, 107)
HSLhsl(170, 47%, 32%)
HSVhsv(170, 64%, 47%)
CMYKcmyk(64.2%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.64, -26.82, 0.18)
CIE-LCHlch(45.64, 26.82, 179.62°)
OKLaboklab(52.16% -0.0778 0)
OKLCHoklch(52.16% 0.078 180)
XYZxyz(10.3653, 15.0070, 16.2574)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B786B #782B38
analogous
#2B7845 #2B786B #2B5F78
triadic
#2B786B #6B2B78 #786B2B
tetradic
#2B786B #452B78 #782B38 #5F782B
square
#2B786B #452B78 #782B38 #5F782B
split-complementary
#2B786B #782B5F #78452B
monochromatic
#0B1E1B #1B4B43 #2B786B #3BA593 #5AC4B2

Accessibility & contrast

On white

5.25
#2B786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2B786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B786B#FFFFFF#000000##FFFFFF
##2B786B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716A
Deuteranopia (green-blind)
#67696C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b786b;
/* rgb */ color: rgb(43, 120, 107);
/* oklch */ color: oklch(52.2% 0.078 180.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f95',
    500: '#2b786b',
    950: '#000000',
  },
}
SCSS
$custom: #2b786b;
$custom-light: #6e9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2b786b",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 169.87,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.07776,
    "h": 180
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#2B786B
secondary
#AA5563
accent
#5168D7
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B786B

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

Preview Lab → · Contrast checker → · Palette generator →

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