#2C771E#2C771E

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

Color values

HEX#2C771E
RGBrgb(44, 119, 30)
HSLhsl(111, 60%, 29%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(63%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.98, -40.60, 39.93)
CIE-LCHlch(43.98, 56.94, 135.47°)
OKLaboklab(50.36% -0.1111 0.0906)
OKLCHoklch(50.36% 0.143 140.8)
XYZxyz(7.8695, 13.8221, 3.4813)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C771E #691E77
analogous
#59771E #2C771E #1E773D
triadic
#2C771E #1E2C77 #771E2C
tetradic
#2C771E #1E5977 #691E77 #773D1E
square
#2C771E #1E5977 #691E77 #773D1E
split-complementary
#2C771E #3D1E77 #771E59
monochromatic
#091806 #1A4612 #2C771E #3EA82A #57CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C771E#FFFFFF#000000##FFFFFF
##2C771E1.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)
#7A6C0F
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#217366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c771e;
/* rgb */ color: rgb(44, 119, 30);
/* oklch */ color: oklch(50.4% 0.143 140.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f60',
    500: '#2c771e',
    950: '#000000',
  },
}
SCSS
$custom: #2c771e;
$custom-light: #6f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c771e",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 110.562,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.14333,
    "h": 140.8
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#2C771E
secondary
#9B46AB
accent
#45E3CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C771E

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

Preview Lab → · Contrast checker → · Palette generator →

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