#2C781E#2C781E

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

Color values

HEX#2C781E
RGBrgb(44, 120, 30)
HSLhsl(111, 60%, 29%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(63.3%, 0%, 75%, 52.9%)
CIE-LABlab(44.32, -40.98, 40.28)
CIE-LCHlch(44.32, 57.46, 135.49°)
OKLaboklab(50.65% -0.1121 0.0913)
OKLCHoklch(50.65% 0.145 140.8)
XYZxyz(7.9891, 14.0614, 3.5212)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781E #6A1E78
analogous
#59781E #2C781E #1E783D
triadic
#2C781E #1E2C78 #781E2C
tetradic
#2C781E #1E5978 #6A1E78 #783D1E
square
#2C781E #1E5978 #6A1E78 #783D1E
split-complementary
#2C781E #3D1E78 #781E59
monochromatic
#091806 #1A4712 #2C781E #3EA92A #57CF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C781E#FFFFFF#000000##FFFFFF
##2C781E1.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)
#7B6D0E
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c781e;
/* rgb */ color: rgb(44, 120, 30);
/* oklch */ color: oklch(50.6% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa060',
    500: '#2c781e',
    950: '#000000',
  },
}
SCSS
$custom: #2c781e;
$custom-light: #6fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 110.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.14461,
    "h": 140.8
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#2C781E
secondary
#9C46AC
accent
#45E3CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781E

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

Preview Lab → · Contrast checker → · Palette generator →

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