#2C7920#2C7920

#2C7920 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.145 H 141.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2C7920
RGBrgb(44, 121, 32)
HSLhsl(112, 58%, 30%)
HSVhsv(112, 74%, 47%)
CMYKcmyk(63.6%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.68, -41.19, 39.84)
CIE-LCHlch(44.68, 57.30, 135.96°)
OKLaboklab(50.95% -0.1126 0.0907)
OKLCHoklch(50.95% 0.145 141.2)
XYZxyz(8.1364, 14.3137, 3.7003)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7920 #6D2079
analogous
#597920 #2C7920 #207940
triadic
#2C7920 #202C79 #79202C
tetradic
#2C7920 #205979 #6D2079 #794020
square
#2C7920 #205979 #6D2079 #794020
split-complementary
#2C7920 #402079 #792059
monochromatic
#091806 #1A4913 #2C7920 #3EA92D #58CE45

Accessibility & contrast

On white

5.44
#2C7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2C7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7920
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7920#FFFFFF#000000##FFFFFF
##2C79201.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E12
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#207567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7920;
/* rgb */ color: rgb(44, 121, 32);
/* oklch */ color: oklch(50.9% 0.145 141.2);
Tailwind
colors: {
  custom: {
    50: '#6fa061',
    500: '#2c7920',
    950: '#000000',
  },
}
SCSS
$custom: #2c7920;
$custom-light: #6fa061;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7920",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 111.91,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.14454,
    "h": 141.2
  },
  "luminance": 0.14315
}

Semantic roles & 50–950 ramp

primary
#2C7920
secondary
#9F49AC
accent
#46E1CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C7920

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

Preview Lab → · Contrast checker → · Palette generator →

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