#2C781B#2C781B

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

Color values

HEX#2C781B
RGBrgb(44, 120, 27)
HSLhsl(109, 63%, 29%)
HSVhsv(109, 78%, 47%)
CMYKcmyk(63.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.30, -41.22, 41.43)
CIE-LCHlch(44.30, 58.44, 134.86°)
OKLaboklab(50.62% -0.113 0.0933)
OKLCHoklch(50.62% 0.146 140.5)
XYZxyz(7.9526, 14.0468, 3.3289)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781B #671B78
analogous
#5B781B #2C781B #1B7839
triadic
#2C781B #1B2C78 #781B2C
tetradic
#2C781B #1B5B78 #671B78 #78391B
square
#2C781B #1B5B78 #671B78 #78391B
split-complementary
#2C781B #391B78 #781B5B
monochromatic
#091906 #1A4610 #2C781B #3EAA26 #56D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C781B#FFFFFF#000000##FFFFFF
##2C781B1.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)
#7B6D08
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c781b;
/* rgb */ color: rgb(44, 120, 27);
/* oklch */ color: oklch(50.6% 0.146 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa05e',
    500: '#2c781b',
    950: '#000000',
  },
}
SCSS
$custom: #2c781b;
$custom-light: #6fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781b",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 109.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.14649,
    "h": 140.5
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#2C781B
secondary
#9943AC
accent
#41E6C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781B

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

Preview Lab → · Contrast checker → · Palette generator →

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