#2C781F#2C781F

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

Color values

HEX#2C781F
RGBrgb(44, 120, 31)
HSLhsl(111, 59%, 30%)
HSVhsv(111, 74%, 47%)
CMYKcmyk(63.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.33, -40.89, 39.89)
CIE-LCHlch(44.33, 57.12, 135.72°)
OKLaboklab(50.65% -0.1118 0.0906)
OKLCHoklch(50.65% 0.144 141)
XYZxyz(8.0021, 14.0666, 3.5895)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C781F #6B1F78
analogous
#59781F #2C781F #1F783F
triadic
#2C781F #1F2C78 #781F2C
tetradic
#2C781F #1F5978 #6B1F78 #783F1F
square
#2C781F #1F5978 #6B1F78 #783F1F
split-complementary
#2C781F #3F1F78 #781F59
monochromatic
#091806 #1A4712 #2C781F #3EA92C #57CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C781F#FFFFFF#000000##FFFFFF
##2C781F1.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)
#7B6D10
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#207466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c781f;
/* rgb */ color: rgb(44, 120, 31);
/* oklch */ color: oklch(50.7% 0.144 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa060',
    500: '#2c781f',
    950: '#000000',
  },
}
SCSS
$custom: #2c781f;
$custom-light: #6fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#2c781f",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 111.236,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.14394,
    "h": 141
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#2C781F
secondary
#9D47AB
accent
#46E2CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C781F

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

Preview Lab → · Contrast checker → · Palette generator →

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