#2C781C#2C781C

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

Color values

HEX#2C781C
RGBrgb(44, 120, 28)
HSLhsl(110, 62%, 29%)
HSVhsv(110, 77%, 47%)
CMYKcmyk(63.3%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.31, -41.15, 41.05)
CIE-LCHlch(44.31, 58.12, 135.06°)
OKLaboklab(50.63% -0.1127 0.0926)
OKLCHoklch(50.63% 0.146 140.6)
XYZxyz(7.9644, 14.0515, 3.3909)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781C #681C78
analogous
#5A781C #2C781C #1C783A
triadic
#2C781C #1C2C78 #781C2C
tetradic
#2C781C #1C5A78 #681C78 #783A1C
square
#2C781C #1C5A78 #681C78 #783A1C
split-complementary
#2C781C #3A1C78 #781C5A
monochromatic
#091906 #1A4610 #2C781C #3EAA28 #57D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C781C#FFFFFF#000000##FFFFFF
##2C781C1.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)
#7B6D0A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c781c;
/* rgb */ color: rgb(44, 120, 28);
/* oklch */ color: oklch(50.6% 0.146 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa05f',
    500: '#2c781c',
    950: '#000000',
  },
}
SCSS
$custom: #2c781c;
$custom-light: #6fa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781c",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 109.565,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.14587,
    "h": 140.6
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#2C781C
secondary
#9A44AC
accent
#43E5C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781C

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

Preview Lab → · Contrast checker → · Palette generator →

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