#2D7E32#2D7E32

#2D7E32 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.136 H 144.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D7E32
RGBrgb(45, 126, 50)
HSLhsl(124, 47%, 34%)
HSVhsv(124, 64%, 49%)
CMYKcmyk(64.3%, 0%, 60.3%, 50.6%)
CIE-LABlab(46.59, -40.90, 33.68)
CIE-LCHlch(46.59, 52.98, 140.53°)
OKLaboklab(52.59% -0.1108 0.0796)
OKLCHoklch(52.59% 0.136 144.3)
XYZxyz(9.1182, 15.7090, 5.5686)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E32 #7E2D79
analogous
#507E2D #2D7E32 #2D7E5A
triadic
#2D7E32 #322D7E #7E322D
tetradic
#2D7E32 #2D507E #7E2D79 #7E5A2D
square
#2D7E32 #2D507E #7E2D79 #7E5A2D
split-complementary
#2D7E32 #5A2D7E #7E2D50
monochromatic
#0D240E #1D5120 #2D7E32 #3DAB44 #5FC666

Accessibility & contrast

On white

5.07
#2D7E32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2D7E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E32
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E32#FFFFFF#000000##FFFFFF
##2D7E321.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732A
Deuteranopia (green-blind)
#766C38
Tritanopia (blue-blind)
#1B7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7e32;
/* rgb */ color: rgb(45, 126, 50);
/* oklch */ color: oklch(52.6% 0.136 144.3);
Tailwind
colors: {
  custom: {
    50: '#70a46c',
    500: '#2d7e32',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e32;
$custom-light: #70a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e32",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 123.704,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.13647,
    "h": 144.3
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7E32

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

Preview Lab → · Contrast checker → · Palette generator →

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