#2C7D2C#2C7D2C

#2C7D2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.141 H 143.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C7D2C
RGBrgb(44, 125, 44)
HSLhsl(120, 48%, 33%)
HSVhsv(120, 65%, 49%)
CMYKcmyk(64.8%, 0%, 64.8%, 51%)
CIE-LABlab(46.16, -41.49, 36.09)
CIE-LCHlch(46.16, 54.99, 138.98°)
OKLaboklab(52.2% -0.1127 0.0842)
OKLCHoklch(52.2% 0.141 143.2)
XYZxyz(8.8264, 15.3837, 4.8866)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D2C #7D2C7D
analogous
#547D2C #2C7D2C #2C7D54
triadic
#2C7D2C #2C2C7D #7D2C2C
tetradic
#2C7D2C #2C547D #7D2C7D #7D542C
square
#2C7D2C #2C547D #7D2C7D #7D542C
split-complementary
#2C7D2C #542C7D #7D2C54
monochromatic
#0C220C #1C501C #2C7D2C #3CAA3C #5DC65D

Accessibility & contrast

On white

5.15
#2C7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D2C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D2C#FFFFFF#000000##FFFFFF
##2C7D2C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807123
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#1C796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d2c;
/* rgb */ color: rgb(44, 125, 44);
/* oklch */ color: oklch(52.2% 0.141 143.2);
Tailwind
colors: {
  custom: {
    50: '#70a369',
    500: '#2c7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d2c;
$custom-light: #70a369;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d2c",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.14068,
    "h": 143.2
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#2C7D2C
secondary
#AC59AC
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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