#2E786B#2E786B

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

Color values

HEX#2E786B
RGBrgb(46, 120, 107)
HSLhsl(169, 45%, 33%)
HSVhsv(169, 62%, 47%)
CMYKcmyk(61.7%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.74, -26.22, 0.32)
CIE-LCHlch(45.74, 26.22, 179.29°)
OKLaboklab(52.27% -0.076 0.0004)
OKLCHoklch(52.27% 0.076 179.7)
XYZxyz(10.4958, 15.0743, 16.2636)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E786B #782E3B
analogous
#2E7846 #2E786B #2E6078
triadic
#2E786B #6B2E78 #786B2E
tetradic
#2E786B #462E78 #782E3B #60782E
square
#2E786B #462E78 #782E3B #60782E
split-complementary
#2E786B #782E60 #78462E
monochromatic
#0C201C #1D4C44 #2E786B #3FA492 #5FC2B0

Accessibility & contrast

On white

5.23
#2E786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2E786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E786B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E786B#FFFFFF#000000##FFFFFF
##2E786B1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e786b;
/* rgb */ color: rgb(46, 120, 107);
/* oklch */ color: oklch(52.3% 0.076 179.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f95',
    500: '#2e786b',
    950: '#000000',
  },
}
SCSS
$custom: #2e786b;
$custom-light: #6f9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e786b",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 169.459,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.07599,
    "h": 179.7
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#2E786B
secondary
#A85A67
accent
#546AD4
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E786B

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

Preview Lab → · Contrast checker → · Palette generator →

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