#2C792C#2C792C

#2C792C is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.135 H 143.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2C792C
RGBrgb(44, 121, 44)
HSLhsl(120, 47%, 32%)
HSVhsv(120, 64%, 47%)
CMYKcmyk(63.6%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.79, -39.92, 34.55)
CIE-LCHlch(44.79, 52.80, 139.13°)
OKLaboklab(51.07% -0.1084 0.0809)
OKLCHoklch(51.07% 0.135 143.3)
XYZxyz(8.3302, 14.3913, 4.7212)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792C #792C79
analogous
#53792C #2C792C #2C7953
triadic
#2C792C #2C2C79 #792C2C
tetradic
#2C792C #2C5379 #792C79 #79532C
square
#2C792C #2C5379 #792C79 #79532C
split-complementary
#2C792C #532C79 #792C53
monochromatic
#0B1F0B #1C4C1C #2C792C #3CA63C #5CC45C

Accessibility & contrast

On white

5.41
#2C792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2C792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C792C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C792C#FFFFFF#000000##FFFFFF
##2C792C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E23
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#1D7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792c;
/* rgb */ color: rgb(44, 121, 44);
/* oklch */ color: oklch(51.1% 0.135 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa068',
    500: '#2c792c',
    950: '#000000',
  },
}
SCSS
$custom: #2c792c;
$custom-light: #6fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.13531,
    "h": 143.3
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#2C792C
secondary
#AA57AA
accent
#51D6D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792C

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

Preview Lab → · Contrast checker → · Palette generator →

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