#2C795D#2C795D

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

Color values

HEX#2C795D
RGBrgb(44, 121, 93)
HSLhsl(158, 47%, 32%)
HSVhsv(158, 64%, 47%)
CMYKcmyk(63.6%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.63, -30.80, 8.47)
CIE-LCHlch(45.63, 31.94, 164.62°)
OKLaboklab(52.04% -0.0854 0.0217)
OKLCHoklch(52.04% 0.088 165.8)
XYZxyz(9.8509, 14.9995, 12.7299)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C795D #792C48
analogous
#2C7937 #2C795D #2C6F79
triadic
#2C795D #5D2C79 #795D2C
tetradic
#2C795D #372C79 #792C48 #6F792C
square
#2C795D #372C79 #792C48 #6F792C
split-complementary
#2C795D #792C6F #79372C
monochromatic
#0B1F18 #1C4C3B #2C795D #3CA67F #5CC49E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C795D#FFFFFF#000000##FFFFFF
##2C795D1.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)
#76715C
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c795d;
/* rgb */ color: rgb(44, 121, 93);
/* oklch */ color: oklch(52.0% 0.088 165.8);
Tailwind
colors: {
  custom: {
    50: '#6ea08b',
    500: '#2c795d',
    950: '#000000',
  },
}
SCSS
$custom: #2c795d;
$custom-light: #6ea08b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c795d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 158.182,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.0881,
    "h": 165.8
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#2C795D
secondary
#AA5775
accent
#5182D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2C795D

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

Preview Lab → · Contrast checker → · Palette generator →

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