#2D7D32#2D7D32

#2D7D32 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.135 H 144.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2D7D32
RGBrgb(45, 125, 50)
HSLhsl(124, 47%, 33%)
HSVhsv(124, 64%, 49%)
CMYKcmyk(64%, 0%, 60%, 51%)
CIE-LABlab(46.25, -40.50, 33.28)
CIE-LCHlch(46.25, 52.42, 140.59°)
OKLaboklab(52.31% -0.1098 0.0787)
OKLCHoklch(52.31% 0.135 144.3)
XYZxyz(8.9910, 15.4545, 5.5262)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D32 #7D2D78
analogous
#507D2D #2D7D32 #2D7D5A
triadic
#2D7D32 #322D7D #7D322D
tetradic
#2D7D32 #2D507D #7D2D78 #7D5A2D
square
#2D7D32 #2D507D #7D2D78 #7D5A2D
split-complementary
#2D7D32 #5A2D7D #7D2D50
monochromatic
#0D230E #1D5020 #2D7D32 #3DAA44 #5FC565

Accessibility & contrast

On white

5.13
#2D7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D7D32
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D32#FFFFFF#000000##FFFFFF
##2D7D321.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7d32;
/* rgb */ color: rgb(45, 125, 50);
/* oklch */ color: oklch(52.3% 0.135 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a36c',
    500: '#2d7d32',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d32;
$custom-light: #70a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d32",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 123.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.1351,
    "h": 144.3
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#2D7D32
secondary
#AC5AA7
accent
#51CED7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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