#2C7420#2C7420

#2C7420 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.138 H 141.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7420
RGBrgb(44, 116, 32)
HSLhsl(111, 57%, 29%)
HSVhsv(111, 72%, 45%)
CMYKcmyk(62.1%, 0%, 72.4%, 54.5%)
CIE-LABlab(42.96, -39.25, 38.04)
CIE-LCHlch(42.96, 54.66, 135.89°)
OKLaboklab(49.53% -0.1073 0.0869)
OKLCHoklch(49.53% 0.138 141)
XYZxyz(7.5444, 13.1299, 3.5030)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7420 #682074
analogous
#567420 #2C7420 #20743E
triadic
#2C7420 #202C74 #74202C
tetradic
#2C7420 #205674 #682074 #743E20
square
#2C7420 #205674 #682074 #743E20
split-complementary
#2C7420 #3E2074 #742056
monochromatic
#091807 #1A4413 #2C7420 #3EA42D #57CB43

Accessibility & contrast

On white

5.79
#2C7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2C7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7420
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7420#FFFFFF#000000##FFFFFF
##2C74201.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7420;
/* rgb */ color: rgb(44, 116, 32);
/* oklch */ color: oklch(49.5% 0.138 141.0);
Tailwind
colors: {
  custom: {
    50: '#6e9d61',
    500: '#2c7420',
    950: '#000000',
  },
}
SCSS
$custom: #2c7420;
$custom-light: #6e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7420",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 111.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.13809,
    "h": 141
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#2C7420
secondary
#9A48A8
accent
#48E0CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7420

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

Preview Lab → · Contrast checker → · Palette generator →

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