#2C794C#2C794C

#2C794C is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.6% C 0.104 H 154.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C794C
RGBrgb(44, 121, 76)
HSLhsl(145, 47%, 32%)
HSVhsv(145, 64%, 47%)
CMYKcmyk(63.6%, 0%, 37.2%, 52.5%)
CIE-LABlab(45.26, -34.66, 17.88)
CIE-LCHlch(45.26, 39.00, 152.72°)
OKLaboklab(51.62% -0.094 0.0449)
OKLCHoklch(51.62% 0.104 154.5)
XYZxyz(9.1798, 14.7311, 9.1957)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C794C #792C59
analogous
#32792C #2C794C #2C7973
triadic
#2C794C #4C2C79 #794C2C
tetradic
#2C794C #2C3279 #792C59 #79732C
square
#2C794C #2C3279 #792C59 #79732C
split-complementary
#2C794C #732C79 #792C32
monochromatic
#0B1F14 #1C4C30 #2C794C #3CA668 #5CC487

Accessibility & contrast

On white

5.32
#2C794C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C794C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C794C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C794C#FFFFFF#000000##FFFFFF
##2C794C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F49
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#0D786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c794c;
/* rgb */ color: rgb(44, 121, 76);
/* oklch */ color: oklch(51.6% 0.104 154.5);
Tailwind
colors: {
  custom: {
    50: '#6ea07e',
    500: '#2c794c',
    950: '#000000',
  },
}
SCSS
$custom: #2c794c;
$custom-light: #6ea07e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c794c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 144.935,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.10415,
    "h": 154.5
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#2C794C
secondary
#AA5787
accent
#519FD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C794C

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

Preview Lab → · Contrast checker → · Palette generator →

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