#2C794D#2C794D

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

Color values

HEX#2C794D
RGBrgb(44, 121, 77)
HSLhsl(146, 47%, 32%)
HSVhsv(146, 64%, 47%)
CMYKcmyk(63.6%, 0%, 36.4%, 52.5%)
CIE-LABlab(45.28, -34.45, 17.33)
CIE-LCHlch(45.28, 38.57, 153.30°)
OKLaboklab(51.64% -0.0935 0.0436)
OKLCHoklch(51.64% 0.103 155)
XYZxyz(9.2149, 14.7451, 9.3802)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C794D #792C58
analogous
#32792C #2C794D #2C7974
triadic
#2C794D #4D2C79 #794D2C
tetradic
#2C794D #2C3279 #792C58 #79742C
square
#2C794D #2C3279 #792C58 #79742C
split-complementary
#2C794D #742C79 #792C32
monochromatic
#0B1F14 #1C4C30 #2C794D #3CA66A #5CC488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C794D#FFFFFF#000000##FFFFFF
##2C794D1.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)
#79704A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#0C786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c794d;
/* rgb */ color: rgb(44, 121, 77);
/* oklch */ color: oklch(51.6% 0.103 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ea07f',
    500: '#2c794d',
    950: '#000000',
  },
}
SCSS
$custom: #2c794d;
$custom-light: #6ea07f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c794d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 145.714,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.10315,
    "h": 155
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#2C794D
secondary
#AA5786
accent
#519DD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C794D

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

Preview Lab → · Contrast checker → · Palette generator →

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