#2D8120#2D8120

#2D8120 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.154 H 141.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D8120
RGBrgb(45, 129, 32)
HSLhsl(112, 60%, 32%)
HSVhsv(112, 75%, 51%)
CMYKcmyk(65.1%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.45, -43.96, 42.68)
CIE-LCHlch(47.45, 61.27, 135.85°)
OKLaboklab(53.24% -0.1201 0.0966)
OKLCHoklch(53.24% 0.154 141.2)
XYZxyz(9.1927, 16.3618, 4.0399)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8120 #742081
analogous
#5E8120 #2D8120 #208144
triadic
#2D8120 #202D81 #81202D
tetradic
#2D8120 #205E81 #742081 #814420
square
#2D8120 #205E81 #742081 #814420
split-complementary
#2D8120 #442081 #81205E
monochromatic
#0B1F08 #1C5014 #2D8120 #3EB22C #5CD249

Accessibility & contrast

On white

4.92
#2D8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2D8120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8120
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8120#FFFFFF#000000##FFFFFF
##2D81201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8120;
/* rgb */ color: rgb(45, 129, 32);
/* oklch */ color: oklch(53.2% 0.154 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a662',
    500: '#2d8120',
    950: '#000000',
  },
}
SCSS
$custom: #2d8120;
$custom-light: #72a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8120",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 111.959,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.15415,
    "h": 141.2
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#2D8120
secondary
#A549B4
accent
#44E3CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D8120

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

Preview Lab → · Contrast checker → · Palette generator →

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