#2C795E#2C795E

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

Color values

HEX#2C795E
RGBrgb(44, 121, 94)
HSLhsl(159, 47%, 32%)
HSVhsv(159, 64%, 47%)
CMYKcmyk(63.6%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.66, -30.55, 7.91)
CIE-LCHlch(45.66, 31.56, 165.48°)
OKLaboklab(52.07% -0.0849 0.0203)
OKLCHoklch(52.07% 0.087 166.6)
XYZxyz(9.8954, 15.0174, 12.9647)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C795E #792C47
analogous
#2C7937 #2C795E #2C6E79
triadic
#2C795E #5E2C79 #795E2C
tetradic
#2C795E #372C79 #792C47 #6E792C
square
#2C795E #372C79 #792C47 #6E792C
split-complementary
#2C795E #792C6E #79372C
monochromatic
#0B1F18 #1C4C3B #2C795E #3CA681 #5CC49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c795e;
/* rgb */ color: rgb(44, 121, 94);
/* oklch */ color: oklch(52.1% 0.087 166.6);
Tailwind
colors: {
  custom: {
    50: '#6ea08b',
    500: '#2c795e',
    950: '#000000',
  },
}
SCSS
$custom: #2c795e;
$custom-light: #6ea08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c795e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 158.961,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.08726,
    "h": 166.6
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#2C795E
secondary
#AA5774
accent
#5180D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2C795E

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

Preview Lab → · Contrast checker → · Palette generator →

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