#2C781A#2C781A

#2C781A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.147 H 140.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2C781A
RGBrgb(44, 120, 26)
HSLhsl(109, 64%, 29%)
HSVhsv(109, 78%, 47%)
CMYKcmyk(63.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.29, -41.30, 41.79)
CIE-LCHlch(44.29, 58.76, 134.66°)
OKLaboklab(50.61% -0.1132 0.0939)
OKLCHoklch(50.61% 0.147 140.3)
XYZxyz(7.9413, 14.0423, 3.2690)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781A #661A78
analogous
#5B781A #2C781A #1A7837
triadic
#2C781A #1A2C78 #781A2C
tetradic
#2C781A #1A5B78 #661A78 #78371A
square
#2C781A #1A5B78 #661A78 #78371A
split-complementary
#2C781A #371A78 #781A5B
monochromatic
#091905 #1A460F #2C781A #3EAA25 #56D438

Accessibility & contrast

On white

5.51
#2C781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2C781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C781A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C781A#FFFFFF#000000##FFFFFF
##2C781A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D06
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c781a;
/* rgb */ color: rgb(44, 120, 26);
/* oklch */ color: oklch(50.6% 0.147 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a05e',
    500: '#2c781a',
    950: '#000000',
  },
}
SCSS
$custom: #2c781a;
$custom-light: #70a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781a",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 108.511,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.14709,
    "h": 140.3
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#2C781A
secondary
#9841AC
accent
#40E7C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781A

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

Preview Lab → · Contrast checker → · Palette generator →

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