#2C795C#2C795C

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

Color values

HEX#2C795C
RGBrgb(44, 121, 92)
HSLhsl(157, 47%, 32%)
HSVhsv(157, 64%, 47%)
CMYKcmyk(63.6%, 0%, 24%, 52.5%)
CIE-LABlab(45.61, -31.04, 9.03)
CIE-LCHlch(45.61, 32.33, 163.79°)
OKLaboklab(52.02% -0.0859 0.0231)
OKLCHoklch(52.02% 0.089 164.9)
XYZxyz(9.8069, 14.9819, 12.4981)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C795C #792C49
analogous
#2C7936 #2C795C #2C6F79
triadic
#2C795C #5C2C79 #795C2C
tetradic
#2C795C #362C79 #792C49 #6F792C
square
#2C795C #362C79 #792C49 #6F792C
split-complementary
#2C795C #792C6F #79362C
monochromatic
#0B1F18 #1C4C3A #2C795C #3CA67E #5CC49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C795C#FFFFFF#000000##FFFFFF
##2C795C1.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)
#77715A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c795c;
/* rgb */ color: rgb(44, 121, 92);
/* oklch */ color: oklch(52.0% 0.089 164.9);
Tailwind
colors: {
  custom: {
    50: '#6ea08a',
    500: '#2c795c',
    950: '#000000',
  },
}
SCSS
$custom: #2c795c;
$custom-light: #6ea08a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c795c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 157.403,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.08894,
    "h": 164.9
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#2C795C
secondary
#AA5776
accent
#5184D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2C795C

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

Preview Lab → · Contrast checker → · Palette generator →

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