#2C7E20#2C7E20

#2C7E20 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.151 H 141.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7E20
RGBrgb(44, 126, 32)
HSLhsl(112, 59%, 31%)
HSVhsv(112, 75%, 49%)
CMYKcmyk(65.1%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.39, -43.08, 41.60)
CIE-LCHlch(46.39, 59.89, 136.00°)
OKLaboklab(52.36% -0.1177 0.0943)
OKLCHoklch(52.36% 0.151 141.3)
XYZxyz(8.7598, 15.5606, 3.9081)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E20 #72207E
analogous
#5B7E20 #2C7E20 #207E43
triadic
#2C7E20 #202C7E #7E202C
tetradic
#2C7E20 #205B7E #72207E #7E4320
square
#2C7E20 #205B7E #72207E #7E4320
split-complementary
#2C7E20 #43207E #7E205B
monochromatic
#0A1C07 #1B4D14 #2C7E20 #3DAF2C #59D048

Accessibility & contrast

On white

5.11
#2C7E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E20
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E20#FFFFFF#000000##FFFFFF
##2C7E201.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817210
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#1E7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e20;
/* rgb */ color: rgb(44, 126, 32);
/* oklch */ color: oklch(52.4% 0.151 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a462',
    500: '#2c7e20',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e20;
$custom-light: #70a462;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e20",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 112.34,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.15083,
    "h": 141.3
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#2C7E20
secondary
#A449B1
accent
#45E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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