#2C791A#2C791A

#2C791A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.148 H 140.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2C791A
RGBrgb(44, 121, 26)
HSLhsl(109, 65%, 29%)
HSVhsv(109, 79%, 47%)
CMYKcmyk(63.6%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.64, -41.68, 42.13)
CIE-LCHlch(44.64, 59.26, 134.69°)
OKLaboklab(50.9% -0.1142 0.0946)
OKLCHoklch(50.9% 0.148 140.4)
XYZxyz(8.0622, 14.2840, 3.3093)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C791A #671A79
analogous
#5C791A #2C791A #1A7938
triadic
#2C791A #1A2C79 #791A2C
tetradic
#2C791A #1A5C79 #671A79 #79381A
square
#2C791A #1A5C79 #671A79 #79381A
split-complementary
#2C791A #381A79 #791A5C
monochromatic
#091905 #1A470F #2C791A #3EAB25 #56D439

Accessibility & contrast

On white

5.44
#2C791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2C791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C791A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C791A#FFFFFF#000000##FFFFFF
##2C791A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c791a;
/* rgb */ color: rgb(44, 121, 26);
/* oklch */ color: oklch(50.9% 0.148 140.4);
Tailwind
colors: {
  custom: {
    50: '#70a05e',
    500: '#2c791a',
    950: '#000000',
  },
}
SCSS
$custom: #2c791a;
$custom-light: #70a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c791a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 108.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.14833,
    "h": 140.4
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#2C791A
secondary
#9941AD
accent
#40E8C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C791A

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

Preview Lab → · Contrast checker → · Palette generator →

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