#2C771D#2C771D

#2C771D is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.144 H 140.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2C771D
RGBrgb(44, 119, 29)
HSLhsl(110, 61%, 29%)
HSVhsv(110, 76%, 47%)
CMYKcmyk(63%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.97, -40.68, 40.32)
CIE-LCHlch(43.97, 57.28, 135.25°)
OKLaboklab(50.35% -0.1114 0.0913)
OKLCHoklch(50.35% 0.144 140.7)
XYZxyz(7.8569, 13.8171, 3.4151)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C771D #681D77
analogous
#59771D #2C771D #1D773B
triadic
#2C771D #1D2C77 #771D2C
tetradic
#2C771D #1D5977 #681D77 #773B1D
square
#2C771D #1D5977 #681D77 #773B1D
split-complementary
#2C771D #3B1D77 #771D59
monochromatic
#091906 #1A4611 #2C771D #3EA829 #57D03E

Accessibility & contrast

On white

5.58
#2C771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2C771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C771D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C771D#FFFFFF#000000##FFFFFF
##2C771D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#217365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c771d;
/* rgb */ color: rgb(44, 119, 29);
/* oklch */ color: oklch(50.4% 0.144 140.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f5f',
    500: '#2c771d',
    950: '#000000',
  },
}
SCSS
$custom: #2c771d;
$custom-light: #6f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c771d",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 110,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.14399,
    "h": 140.7
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#2C771D
secondary
#9A45AB
accent
#44E4C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C771D

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

Preview Lab → · Contrast checker → · Palette generator →

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