#2C7221#2C7221

#2C7221 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.135 H 141.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2C7221
RGBrgb(44, 114, 33)
HSLhsl(112, 55%, 29%)
HSVhsv(112, 71%, 45%)
CMYKcmyk(61.4%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.28, -38.36, 36.89)
CIE-LCHlch(42.28, 53.22, 136.12°)
OKLaboklab(48.96% -0.1049 0.0846)
OKLCHoklch(48.96% 0.135 141.1)
XYZxyz(7.3302, 12.6792, 3.4996)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7221 #672172
analogous
#557221 #2C7221 #21723F
triadic
#2C7221 #212C72 #72212C
tetradic
#2C7221 #215572 #672172 #723F21
square
#2C7221 #215572 #672172 #723F21
split-complementary
#2C7221 #3F2172 #722155
monochromatic
#091807 #1A4313 #2C7221 #3EA12F #56C944

Accessibility & contrast

On white

5.94
#2C7221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2C7221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7221
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7221#FFFFFF#000000##FFFFFF
##2C72211.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756716
Deuteranopia (green-blind)
#6C6228
Tritanopia (blue-blind)
#226E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7221;
/* rgb */ color: rgb(44, 114, 33);
/* oklch */ color: oklch(49.0% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#6e9b61',
    500: '#2c7221',
    950: '#000000',
  },
}
SCSS
$custom: #2c7221;
$custom-light: #6e9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7221",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 111.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.13473,
    "h": 141.1
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#2C7221
secondary
#9949A5
accent
#49DECA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7221

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

Preview Lab → · Contrast checker → · Palette generator →

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