#2C792E#2C792E

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

Color values

HEX#2C792E
RGBrgb(44, 121, 46)
HSLhsl(122, 47%, 32%)
HSVhsv(122, 64%, 47%)
CMYKcmyk(63.6%, 0%, 62%, 52.5%)
CIE-LABlab(44.81, -39.68, 33.59)
CIE-LCHlch(44.81, 51.99, 139.75°)
OKLaboklab(51.1% -0.1077 0.0791)
OKLCHoklch(51.1% 0.134 143.7)
XYZxyz(8.3687, 14.4067, 4.9240)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C792E #792C77
analogous
#51792C #2C792E #2C7954
triadic
#2C792E #2E2C79 #792E2C
tetradic
#2C792E #2C5179 #792C77 #79542C
square
#2C792E #2C5179 #792C77 #79542C
split-complementary
#2C792E #542C79 #792C51
monochromatic
#0B1F0C #1C4C1D #2C792E #3CA63F #5CC45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C792E#FFFFFF#000000##FFFFFF
##2C792E1.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)
#7B6E26
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#1D7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c792e;
/* rgb */ color: rgb(44, 121, 46);
/* oklch */ color: oklch(51.1% 0.134 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2c792e',
    950: '#000000',
  },
}
SCSS
$custom: #2c792e;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2c792e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 121.558,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.13359,
    "h": 143.7
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#2C792E
secondary
#AA57A8
accent
#51D3D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C792E

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

Preview Lab → · Contrast checker → · Palette generator →

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