#2E795D#2E795D

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

Color values

HEX#2E795D
RGBrgb(46, 121, 93)
HSLhsl(158, 45%, 33%)
HSVhsv(158, 62%, 47%)
CMYKcmyk(62%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.70, -30.37, 8.57)
CIE-LCHlch(45.70, 31.55, 164.25°)
OKLaboklab(52.11% -0.0842 0.0219)
OKLCHoklch(52.11% 0.087 165.4)
XYZxyz(9.9389, 15.0449, 12.7340)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E795D #792E4A
analogous
#2E7937 #2E795D #2E6F79
triadic
#2E795D #5D2E79 #795D2E
tetradic
#2E795D #372E79 #792E4A #6F792E
square
#2E795D #372E79 #792E4A #6F792E
split-complementary
#2E795D #792E6F #79372E
monochromatic
#0C2019 #1D4D3B #2E795D #3FA57F #5FC29D

Accessibility & contrast

On white

5.24
#2E795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E795D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E795D#FFFFFF#000000##FFFFFF
##2E795D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715C
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e795d;
/* rgb */ color: rgb(46, 121, 93);
/* oklch */ color: oklch(52.1% 0.087 165.4);
Tailwind
colors: {
  custom: {
    50: '#6fa08b',
    500: '#2e795d',
    950: '#000000',
  },
}
SCSS
$custom: #2e795d;
$custom-light: #6fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e795d",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 157.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.087,
    "h": 165.4
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#2E795D
secondary
#A95A77
accent
#5384D5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2E795D

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

Preview Lab → · Contrast checker → · Palette generator →

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