#2E795B#2E795B

#2E795B is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.089 H 163.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2E795B
RGBrgb(46, 121, 91)
HSLhsl(156, 45%, 33%)
HSVhsv(156, 62%, 47%)
CMYKcmyk(62%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.65, -30.85, 9.68)
CIE-LCHlch(45.65, 32.34, 162.59°)
OKLaboklab(52.06% -0.0852 0.0248)
OKLCHoklch(52.06% 0.089 163.8)
XYZxyz(9.8515, 15.0099, 12.2735)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E795B #792E4C
analogous
#2E7935 #2E795B #2E7179
triadic
#2E795B #5B2E79 #795B2E
tetradic
#2E795B #352E79 #792E4C #71792E
square
#2E795B #352E79 #792E4C #71792E
split-complementary
#2E795B #792E71 #79352E
monochromatic
#0C2018 #1D4D3A #2E795B #3FA57C #5FC29B

Accessibility & contrast

On white

5.25
#2E795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2E795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E795B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E795B#FFFFFF#000000##FFFFFF
##2E795B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777159
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#037971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e795b;
/* rgb */ color: rgb(46, 121, 91);
/* oklch */ color: oklch(52.1% 0.089 163.8);
Tailwind
colors: {
  custom: {
    50: '#6fa089',
    500: '#2e795b',
    950: '#000000',
  },
}
SCSS
$custom: #2e795b;
$custom-light: #6fa089;
$custom-dark: #000000;
JSON
{
  "hex": "#2e795b",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 156,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.08872,
    "h": 163.8
  },
  "luminance": 0.15011
}

Semantic roles & 50–950 ramp

primary
#2E795B
secondary
#A95A7A
accent
#5387D5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2E795B

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

Preview Lab → · Contrast checker → · Palette generator →

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