#2C7D20#2C7D20

#2C7D20 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.150 H 141.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2C7D20
RGBrgb(44, 125, 32)
HSLhsl(112, 59%, 31%)
HSVhsv(112, 74%, 49%)
CMYKcmyk(64.8%, 0%, 74.4%, 51%)
CIE-LABlab(46.05, -42.71, 41.25)
CIE-LCHlch(46.05, 59.38, 135.99°)
OKLaboklab(52.08% -0.1167 0.0936)
OKLCHoklch(52.08% 0.15 141.3)
XYZxyz(8.6326, 15.3062, 3.8657)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D20 #71207D
analogous
#5A7D20 #2C7D20 #207D42
triadic
#2C7D20 #202C7D #7D202C
tetradic
#2C7D20 #205A7D #71207D #7D4220
square
#2C7D20 #205A7D #71207D #7D4220
split-complementary
#2C7D20 #42207D #7D205A
monochromatic
#0A1C07 #1B4C14 #2C7D20 #3DAE2C #59D047

Accessibility & contrast

On white

5.17
#2C7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2C7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D20
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D20#FFFFFF#000000##FFFFFF
##2C7D201.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766B29
Tritanopia (blue-blind)
#1E796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d20;
/* rgb */ color: rgb(44, 125, 32);
/* oklch */ color: oklch(52.1% 0.150 141.3);
Tailwind
colors: {
  custom: {
    50: '#70a362',
    500: '#2c7d20',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d20;
$custom-light: #70a362;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d20",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 112.258,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.14958,
    "h": 141.3
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#2C7D20
secondary
#A349B0
accent
#45E2CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2C7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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