#2C7720#2C7720

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

Color values

HEX#2C7720
RGBrgb(44, 119, 32)
HSLhsl(112, 58%, 30%)
HSVhsv(112, 73%, 47%)
CMYKcmyk(63%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.99, -40.42, 39.12)
CIE-LCHlch(43.99, 56.25, 135.93°)
OKLaboklab(50.38% -0.1105 0.0892)
OKLCHoklch(50.38% 0.142 141.1)
XYZxyz(7.8959, 13.8327, 3.6201)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7720 #6B2077
analogous
#587720 #2C7720 #207740
triadic
#2C7720 #202C77 #77202C
tetradic
#2C7720 #205877 #6B2077 #774020
square
#2C7720 #205877 #6B2077 #774020
split-complementary
#2C7720 #402077 #772058
monochromatic
#091806 #1A4713 #2C7720 #3EA72D #57CD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7720#FFFFFF#000000##FFFFFF
##2C77201.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#217366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c7720;
/* rgb */ color: rgb(44, 119, 32);
/* oklch */ color: oklch(50.4% 0.142 141.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f61',
    500: '#2c7720',
    950: '#000000',
  },
}
SCSS
$custom: #2c7720;
$custom-light: #6f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7720",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 111.724,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.14198,
    "h": 141.1
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#2C7720
secondary
#9D48AA
accent
#47E1CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7720

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

Preview Lab → · Contrast checker → · Palette generator →

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