#2C7D32#2C7D32

#2C7D32 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.136 H 144.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C7D32
RGBrgb(44, 125, 50)
HSLhsl(124, 48%, 33%)
HSVhsv(124, 65%, 49%)
CMYKcmyk(64.8%, 0%, 60%, 51%)
CIE-LABlab(46.22, -40.74, 33.24)
CIE-LCHlch(46.22, 52.58, 140.79°)
OKLaboklab(52.28% -0.1104 0.0787)
OKLCHoklch(52.28% 0.136 144.5)
XYZxyz(8.9475, 15.4321, 5.5242)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D32 #7D2C77
analogous
#4E7D2C #2C7D32 #2C7D5A
triadic
#2C7D32 #322C7D #7D322C
tetradic
#2C7D32 #2C4E7D #7D2C77 #7D5A2C
square
#2C7D32 #2C4E7D #7D2C77 #7D5A2C
split-complementary
#2C7D32 #5A2C7D #7D2C4E
monochromatic
#0C220E #1C5020 #2C7D32 #3CAA44 #5DC665

Accessibility & contrast

On white

5.14
#2C7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2C7D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D32
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D32#FFFFFF#000000##FFFFFF
##2C7D321.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#1A7A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d32;
/* rgb */ color: rgb(44, 125, 50);
/* oklch */ color: oklch(52.3% 0.136 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fa36c',
    500: '#2c7d32',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d32;
$custom-light: #6fa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d32",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 124.444,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.13553,
    "h": 144.5
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#2C7D32
secondary
#AC59A6
accent
#50CED8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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