#2E786D#2E786D

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

Color values

HEX#2E786D
RGBrgb(46, 120, 109)
HSLhsl(171, 45%, 33%)
HSVhsv(171, 62%, 47%)
CMYKcmyk(61.7%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.79, -25.66, -0.78)
CIE-LCHlch(45.79, 25.67, 181.74°)
OKLaboklab(52.33% -0.075 -0.0025)
OKLCHoklch(52.33% 0.075 181.9)
XYZxyz(10.6023, 15.1168, 16.8241)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E786D #782E39
analogous
#2E7848 #2E786D #2E5E78
triadic
#2E786D #6D2E78 #786D2E
tetradic
#2E786D #482E78 #782E39 #5E782E
square
#2E786D #482E78 #782E39 #5E782E
split-complementary
#2E786D #782E5E #78482E
monochromatic
#0C201D #1D4C45 #2E786D #3FA495 #5FC2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e786d;
/* rgb */ color: rgb(46, 120, 109);
/* oklch */ color: oklch(52.3% 0.075 181.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f96',
    500: '#2e786d',
    950: '#000000',
  },
}
SCSS
$custom: #2e786d;
$custom-light: #6f9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e786d",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 171.081,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.07504,
    "h": 181.9
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#2E786D
secondary
#A85A65
accent
#5467D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E786D

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

Preview Lab → · Contrast checker → · Palette generator →

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