#2C795A#2C795A

#2C795A is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.091 H 163.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2C795A
RGBrgb(44, 121, 90)
HSLhsl(156, 47%, 32%)
HSVhsv(156, 64%, 47%)
CMYKcmyk(63.6%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.56, -31.53, 10.14)
CIE-LCHlch(45.56, 33.12, 162.18°)
OKLaboklab(51.96% -0.0869 0.0259)
OKLCHoklch(51.96% 0.091 163.4)
XYZxyz(9.7206, 14.9474, 12.0437)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C795A #792C4B
analogous
#2C7933 #2C795A #2C7279
triadic
#2C795A #5A2C79 #795A2C
tetradic
#2C795A #332C79 #792C4B #72792C
square
#2C795A #332C79 #792C4B #72792C
split-complementary
#2C795A #792C72 #79332C
monochromatic
#0B1F17 #1C4C39 #2C795A #3CA67B #5CC49A

Accessibility & contrast

On white

5.26
#2C795A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2C795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C795A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C795A#FFFFFF#000000##FFFFFF
##2C795A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777058
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c795a;
/* rgb */ color: rgb(44, 121, 90);
/* oklch */ color: oklch(52.0% 0.091 163.4);
Tailwind
colors: {
  custom: {
    50: '#6ea088',
    500: '#2c795a',
    950: '#000000',
  },
}
SCSS
$custom: #2c795a;
$custom-light: #6ea088;
$custom-dark: #000000;
JSON
{
  "hex": "#2c795a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 155.844,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.09069,
    "h": 163.4
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#2C795A
secondary
#AA5778
accent
#5187D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2C795A

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

Preview Lab → · Contrast checker → · Palette generator →

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