#2C791D#2C791D

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

Color values

HEX#2C791D
RGBrgb(44, 121, 29)
HSLhsl(110, 61%, 29%)
HSVhsv(110, 76%, 47%)
CMYKcmyk(63.6%, 0%, 76%, 52.5%)
CIE-LABlab(44.66, -41.45, 41.02)
CIE-LCHlch(44.66, 58.31, 135.30°)
OKLaboklab(50.92% -0.1134 0.0927)
OKLCHoklch(50.92% 0.147 140.7)
XYZxyz(8.0975, 14.2982, 3.4953)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C791D #6A1D79
analogous
#5A791D #2C791D #1D793C
triadic
#2C791D #1D2C79 #791D2C
tetradic
#2C791D #1D5A79 #6A1D79 #793C1D
square
#2C791D #1D5A79 #6A1D79 #793C1D
split-complementary
#2C791D #3C1D79 #791D5A
monochromatic
#091906 #1A4811 #2C791D #3EAA29 #57D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C791D#FFFFFF#000000##FFFFFF
##2C791D1.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)
#7C6E0C
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#207567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c791d;
/* rgb */ color: rgb(44, 121, 29);
/* oklch */ color: oklch(50.9% 0.146 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2c791d',
    950: '#000000',
  },
}
SCSS
$custom: #2c791d;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2c791d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 110.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.1465,
    "h": 140.7
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#2C791D
secondary
#9C45AD
accent
#43E4CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C791D

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

Preview Lab → · Contrast checker → · Palette generator →

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