#2C7722#2C7722

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

Color values

HEX#2C7722
RGBrgb(44, 119, 34)
HSLhsl(113, 56%, 30%)
HSVhsv(113, 71%, 47%)
CMYKcmyk(63%, 0%, 71.4%, 53.3%)
CIE-LABlab(44.01, -40.23, 38.29)
CIE-LCHlch(44.01, 55.54, 136.42°)
OKLaboklab(50.4% -0.1099 0.0877)
OKLCHoklch(50.4% 0.141 141.4)
XYZxyz(7.9239, 13.8439, 3.7676)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7722 #6D2277
analogous
#577722 #2C7722 #227742
triadic
#2C7722 #222C77 #77222C
tetradic
#2C7722 #225777 #6D2277 #774222
square
#2C7722 #225777 #6D2277 #774222
split-complementary
#2C7722 #422277 #772257
monochromatic
#091807 #1A4714 #2C7722 #3EA730 #58CB49

Accessibility & contrast

On white

5.57
#2C7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2C7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7722
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7722#FFFFFF#000000##FFFFFF
##2C77221.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#207366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c7722;
/* rgb */ color: rgb(44, 119, 34);
/* oklch */ color: oklch(50.4% 0.141 141.4);
Tailwind
colors: {
  custom: {
    50: '#6f9f62',
    500: '#2c7722',
    950: '#000000',
  },
}
SCSS
$custom: #2c7722;
$custom-light: #6f9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7722",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 112.941,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.14056,
    "h": 141.4
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#2C7722
secondary
#9F4BAA
accent
#49DFCD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2C7722

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

Preview Lab → · Contrast checker → · Palette generator →

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