#2C781D#2C781D

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

Color values

HEX#2C781D
RGBrgb(44, 120, 29)
HSLhsl(110, 61%, 29%)
HSVhsv(110, 76%, 47%)
CMYKcmyk(63.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.31, -41.06, 40.67)
CIE-LCHlch(44.31, 57.80, 135.28°)
OKLaboklab(50.64% -0.1124 0.092)
OKLCHoklch(50.64% 0.145 140.7)
XYZxyz(7.9766, 14.0564, 3.4550)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781D #691D78
analogous
#5A781D #2C781D #1D783C
triadic
#2C781D #1D2C78 #781D2C
tetradic
#2C781D #1D5A78 #691D78 #783C1D
square
#2C781D #1D5A78 #691D78 #783C1D
split-complementary
#2C781D #3C1D78 #781D5A
monochromatic
#091906 #1A4711 #2C781D #3EA929 #57D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c781d;
/* rgb */ color: rgb(44, 120, 29);
/* oklch */ color: oklch(50.6% 0.145 140.7);
Tailwind
colors: {
  custom: {
    50: '#6fa05f',
    500: '#2c781d',
    950: '#000000',
  },
}
SCSS
$custom: #2c781d;
$custom-light: #6fa05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 110.11,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.14525,
    "h": 140.7
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#2C781D
secondary
#9B45AC
accent
#44E4CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781D

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

Preview Lab → · Contrast checker → · Palette generator →

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