#2E786F#2E786F

#2E786F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.074 H 184.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E786F
RGBrgb(46, 120, 111)
HSLhsl(173, 45%, 33%)
HSVhsv(173, 62%, 47%)
CMYKcmyk(61.7%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.85, -25.10, -1.88)
CIE-LCHlch(45.85, 25.17, 184.29°)
OKLaboklab(52.4% -0.074 -0.0055)
OKLCHoklch(52.4% 0.074 184.2)
XYZxyz(10.7111, 15.1604, 17.3976)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E786F #782E37
analogous
#2E784A #2E786F #2E5C78
triadic
#2E786F #6F2E78 #786F2E
tetradic
#2E786F #4A2E78 #782E37 #5C782E
square
#2E786F #4A2E78 #782E37 #5C782E
split-complementary
#2E786F #782E5C #784A2E
monochromatic
#0C201D #1D4C46 #2E786F #3FA498 #5FC2B6

Accessibility & contrast

On white

5.21
#2E786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2E786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E786F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E786F#FFFFFF#000000##FFFFFF
##2E786F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e786f;
/* rgb */ color: rgb(46, 120, 111);
/* oklch */ color: oklch(52.4% 0.074 184.2);
Tailwind
colors: {
  custom: {
    50: '#709f98',
    500: '#2e786f',
    950: '#000000',
  },
}
SCSS
$custom: #2e786f;
$custom-light: #709f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e786f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.703,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.524,
    "c": 0.07422,
    "h": 184.2
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#2E786F
secondary
#A85A63
accent
#5463D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E786F

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

Preview Lab → · Contrast checker → · Palette generator →

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