#2C771C#2C771C

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

Color values

HEX#2C771C
RGBrgb(44, 119, 28)
HSLhsl(109, 62%, 29%)
HSVhsv(109, 76%, 47%)
CMYKcmyk(63%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.96, -40.76, 40.71)
CIE-LCHlch(43.96, 57.61, 135.04°)
OKLaboklab(50.35% -0.1117 0.0919)
OKLCHoklch(50.35% 0.145 140.5)
XYZxyz(7.8448, 13.8122, 3.3510)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C771C #671C77
analogous
#5A771C #2C771C #1C773A
triadic
#2C771C #1C2C77 #771C2C
tetradic
#2C771C #1C5A77 #671C77 #773A1C
square
#2C771C #1C5A77 #671C77 #773A1C
split-complementary
#2C771C #3A1C77 #771C5A
monochromatic
#091906 #1A4510 #2C771C #3EA928 #56D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C771C#FFFFFF#000000##FFFFFF
##2C771C1.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)
#7A6C0B
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#217365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c771c;
/* rgb */ color: rgb(44, 119, 28);
/* oklch */ color: oklch(50.3% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#6f9f5f',
    500: '#2c771c',
    950: '#000000',
  },
}
SCSS
$custom: #2c771c;
$custom-light: #6f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c771c",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 109.451,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.14462,
    "h": 140.5
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#2C771C
secondary
#9944AB
accent
#43E5C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C771C

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

Preview Lab → · Contrast checker → · Palette generator →

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