#2D7032#2D7032

#2D7032 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.117 H 144.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2D7032
RGBrgb(45, 112, 50)
HSLhsl(124, 43%, 31%)
HSVhsv(124, 60%, 44%)
CMYKcmyk(59.8%, 0%, 55.4%, 56.1%)
CIE-LABlab(41.81, -35.17, 27.99)
CIE-LCHlch(41.81, 44.95, 141.49°)
OKLaboklab(48.65% -0.0954 0.0672)
OKLCHoklch(48.65% 0.117 144.9)
XYZxyz(7.4516, 12.3759, 5.0131)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7032 #702D6B
analogous
#49702D #2D7032 #2D7053
triadic
#2D7032 #322D70 #70322D
tetradic
#2D7032 #2D4970 #702D6B #70532D
square
#2D7032 #2D4970 #702D6B #70532D
split-complementary
#2D7032 #532D70 #702D49
monochromatic
#0A190B #1B441F #2D7032 #3F9C45 #5ABD62

Accessibility & contrast

On white

6.04
#2D7032 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D7032 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7032
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7032#FFFFFF#000000##FFFFFF
##2D70321.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662C
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#206D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7032;
/* rgb */ color: rgb(45, 112, 50);
/* oklch */ color: oklch(48.6% 0.117 144.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a6b',
    500: '#2d7032',
    950: '#000000',
  },
}
SCSS
$custom: #2d7032;
$custom-light: #6d9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7032",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 50
  },
  "hsl": {
    "h": 124.478,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.11664,
    "h": 144.9
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#2D7032
secondary
#A2579C
accent
#55C9D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2D7032

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

Preview Lab → · Contrast checker → · Palette generator →

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