#2C791C#2C791C

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

Color values

HEX#2C791C
RGBrgb(44, 121, 28)
HSLhsl(110, 62%, 29%)
HSVhsv(110, 77%, 47%)
CMYKcmyk(63.6%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.65, -41.53, 41.40)
CIE-LCHlch(44.65, 58.64, 135.09°)
OKLaboklab(50.91% -0.1137 0.0934)
OKLCHoklch(50.91% 0.147 140.6)
XYZxyz(8.0853, 14.2933, 3.4312)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C791C #691C79
analogous
#5B791C #2C791C #1C793B
triadic
#2C791C #1C2C79 #791C2C
tetradic
#2C791C #1C5B79 #691C79 #793B1C
square
#2C791C #1C5B79 #691C79 #793B1C
split-complementary
#2C791C #3B1C79 #791C5B
monochromatic
#091906 #1A4710 #2C791C #3EAB28 #57D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C791C#FFFFFF#000000##FFFFFF
##2C791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c791c;
/* rgb */ color: rgb(44, 121, 28);
/* oklch */ color: oklch(50.9% 0.147 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a05f',
    500: '#2c791c',
    950: '#000000',
  },
}
SCSS
$custom: #2c791c;
$custom-light: #70a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c791c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 109.677,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.14713,
    "h": 140.6
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#2C791C
secondary
#9B44AD
accent
#42E5C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C791C

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

Preview Lab → · Contrast checker → · Palette generator →

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