#2C7916#2C7916

#2C7916 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.151 H 140.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2C7916
RGBrgb(44, 121, 22)
HSLhsl(107, 69%, 28%)
HSVhsv(107, 82%, 47%)
CMYKcmyk(63.6%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.61, -41.96, 43.50)
CIE-LCHlch(44.61, 60.44, 133.96°)
OKLaboklab(50.87% -0.1152 0.0968)
OKLCHoklch(50.87% 0.151 140)
XYZxyz(8.0205, 14.2674, 3.0901)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7916 #631679
analogous
#5D7916 #2C7916 #167932
triadic
#2C7916 #162C79 #79162C
tetradic
#2C7916 #165D79 #631679 #793216
square
#2C7916 #165D79 #631679 #793216
split-complementary
#2C7916 #321679 #79165D
monochromatic
#091A05 #19450D #2C7916 #3FAD1F #56D930

Accessibility & contrast

On white

5.45
#2C7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2C7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7916
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7916#FFFFFF#000000##FFFFFF
##2C79161.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7916;
/* rgb */ color: rgb(44, 121, 22);
/* oklch */ color: oklch(50.9% 0.151 140.0);
Tailwind
colors: {
  custom: {
    50: '#70a05c',
    500: '#2c7916',
    950: '#000000',
  },
}
SCSS
$custom: #2c7916;
$custom-light: #70a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7916",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 106.667,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50872,
    "c": 0.15052,
    "h": 140
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#2C7916
secondary
#953DAE
accent
#3CECC5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #2C7916

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

Preview Lab → · Contrast checker → · Palette generator →

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