#2C791E#2C791E

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

Color values

HEX#2C791E
RGBrgb(44, 121, 30)
HSLhsl(111, 60%, 30%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(63.6%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.66, -41.36, 40.63)
CIE-LCHlch(44.66, 57.98, 135.51°)
OKLaboklab(50.93% -0.1132 0.092)
OKLCHoklch(50.93% 0.146 140.9)
XYZxyz(8.1100, 14.3032, 3.5615)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C791E #6B1E79
analogous
#5A791E #2C791E #1E793D
triadic
#2C791E #1E2C79 #791E2C
tetradic
#2C791E #1E5A79 #6B1E79 #793D1E
square
#2C791E #1E5A79 #6B1E79 #793D1E
split-complementary
#2C791E #3D1E79 #791E5A
monochromatic
#091906 #1A4812 #2C791E #3EAA2A #57D041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C791E#FFFFFF#000000##FFFFFF
##2C791E1.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)
#7C6E0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#207567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c791e;
/* rgb */ color: rgb(44, 121, 30);
/* oklch */ color: oklch(50.9% 0.146 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2c791e',
    950: '#000000',
  },
}
SCSS
$custom: #2c791e;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2c791e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 110.769,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.14586,
    "h": 140.9
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#2C791E
secondary
#9D46AD
accent
#44E3CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C791E

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

Preview Lab → · Contrast checker → · Palette generator →

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