#2C795F#2C795F

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

Color values

HEX#2C795F
RGBrgb(44, 121, 95)
HSLhsl(160, 47%, 32%)
HSVhsv(160, 64%, 47%)
CMYKcmyk(63.6%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.68, -30.30, 7.36)
CIE-LCHlch(45.68, 31.18, 166.35°)
OKLaboklab(52.1% -0.0844 0.0188)
OKLCHoklch(52.1% 0.086 167.4)
XYZxyz(9.9406, 15.0354, 13.2025)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C795F #792C46
analogous
#2C7938 #2C795F #2C6D79
triadic
#2C795F #5F2C79 #795F2C
tetradic
#2C795F #382C79 #792C46 #6D792C
square
#2C795F #382C79 #792C46 #6D792C
split-complementary
#2C795F #792C6D #79382C
monochromatic
#0B1F19 #1C4C3C #2C795F #3CA682 #5CC4A1

Accessibility & contrast

On white

5.24
#2C795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C795F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C795F#FFFFFF#000000##FFFFFF
##2C795F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c795f;
/* rgb */ color: rgb(44, 121, 95);
/* oklch */ color: oklch(52.1% 0.086 167.4);
Tailwind
colors: {
  custom: {
    50: '#6ea08c',
    500: '#2c795f',
    950: '#000000',
  },
}
SCSS
$custom: #2c795f;
$custom-light: #6ea08c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c795f",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 159.74,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.08645,
    "h": 167.4
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#2C795F
secondary
#AA5773
accent
#517ED6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2C795F

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

Preview Lab → · Contrast checker → · Palette generator →

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