#2E795E#2E795E

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

Color values

HEX#2E795E
RGBrgb(46, 121, 94)
HSLhsl(158, 45%, 33%)
HSVhsv(158, 62%, 47%)
CMYKcmyk(62%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.72, -30.12, 8.01)
CIE-LCHlch(45.72, 31.17, 165.11°)
OKLaboklab(52.14% -0.0837 0.0205)
OKLCHoklch(52.14% 0.086 166.2)
XYZxyz(9.9835, 15.0627, 12.9688)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E795E #792E49
analogous
#2E7938 #2E795E #2E6E79
triadic
#2E795E #5E2E79 #795E2E
tetradic
#2E795E #382E79 #792E49 #6E792E
square
#2E795E #382E79 #792E49 #6E792E
split-complementary
#2E795E #792E6E #79382E
monochromatic
#0C2019 #1D4D3C #2E795E #3FA580 #5FC29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E795E#FFFFFF#000000##FFFFFF
##2E795E1.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)
#76715D
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e795e;
/* rgb */ color: rgb(46, 121, 94);
/* oklch */ color: oklch(52.1% 0.086 166.2);
Tailwind
colors: {
  custom: {
    50: '#6fa08b',
    500: '#2e795e',
    950: '#000000',
  },
}
SCSS
$custom: #2e795e;
$custom-light: #6fa08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e795e",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 158.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.08616,
    "h": 166.2
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#2E795E
secondary
#A95A76
accent
#5382D5
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2E795E

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

Preview Lab → · Contrast checker → · Palette generator →

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