#2E786E#2E786E

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

Color values

HEX#2E786E
RGBrgb(46, 120, 110)
HSLhsl(172, 45%, 33%)
HSVhsv(172, 62%, 47%)
CMYKcmyk(61.7%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.82, -25.38, -1.33)
CIE-LCHlch(45.82, 25.42, 183.01°)
OKLaboklab(52.37% -0.0745 -0.004)
OKLCHoklch(52.37% 0.075 183.1)
XYZxyz(10.6564, 15.1385, 17.1093)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E786E #782E38
analogous
#2E7849 #2E786E #2E5D78
triadic
#2E786E #6E2E78 #786E2E
tetradic
#2E786E #492E78 #782E38 #5D782E
square
#2E786E #492E78 #782E38 #5D782E
split-complementary
#2E786E #782E5D #78492E
monochromatic
#0C201D #1D4C45 #2E786E #3FA497 #5FC2B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E786E#FFFFFF#000000##FFFFFF
##2E786E1.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)
#73716E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e786e;
/* rgb */ color: rgb(46, 120, 110);
/* oklch */ color: oklch(52.4% 0.075 183.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f97',
    500: '#2e786e',
    950: '#000000',
  },
}
SCSS
$custom: #2e786e;
$custom-light: #6f9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e786e",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 171.892,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.07462,
    "h": 183.1
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#2E786E
secondary
#A85A64
accent
#5465D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E786E

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

Preview Lab → · Contrast checker → · Palette generator →

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