#2E786C#2E786C

#2E786C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.075 H 180.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E786C
RGBrgb(46, 120, 108)
HSLhsl(170, 45%, 33%)
HSVhsv(170, 62%, 47%)
CMYKcmyk(61.7%, 0%, 10%, 52.9%)
CIE-LABlab(45.76, -25.94, -0.23)
CIE-LCHlch(45.76, 25.94, 180.50°)
OKLaboklab(52.3% -0.0755 -0.001)
OKLCHoklch(52.3% 0.076 180.8)
XYZxyz(10.5487, 15.0954, 16.5422)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E786C #782E3A
analogous
#2E7847 #2E786C #2E5F78
triadic
#2E786C #6C2E78 #786C2E
tetradic
#2E786C #472E78 #782E3A #5F782E
square
#2E786C #472E78 #782E3A #5F782E
split-complementary
#2E786C #782E5F #78472E
monochromatic
#0C201C #1D4C44 #2E786C #3FA494 #5FC2B2

Accessibility & contrast

On white

5.22
#2E786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E786C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E786C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E786C#FFFFFF#000000##FFFFFF
##2E786C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e786c;
/* rgb */ color: rgb(46, 120, 108);
/* oklch */ color: oklch(52.3% 0.075 180.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f96',
    500: '#2e786c',
    950: '#000000',
  },
}
SCSS
$custom: #2e786c;
$custom-light: #6f9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e786c",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 170.27,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.0755,
    "h": 180.8
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#2E786C
secondary
#A85A66
accent
#5468D4
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E786C

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

Preview Lab → · Contrast checker → · Palette generator →

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