#2D8121#2D8121

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

Color values

HEX#2D8121
RGBrgb(45, 129, 33)
HSLhsl(113, 59%, 32%)
HSVhsv(113, 74%, 51%)
CMYKcmyk(65.1%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.45, -43.88, 42.30)
CIE-LCHlch(47.45, 60.94, 136.05°)
OKLaboklab(53.25% -0.1198 0.0959)
OKLCHoklch(53.25% 0.154 141.3)
XYZxyz(9.2065, 16.3673, 4.1126)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8121 #752181
analogous
#5D8121 #2D8121 #218145
triadic
#2D8121 #212D81 #81212D
tetradic
#2D8121 #215D81 #752181 #814521
square
#2D8121 #215D81 #752181 #814521
split-complementary
#2D8121 #452181 #81215D
monochromatic
#0B2008 #1C5015 #2D8121 #3EB22D #5CD14B

Accessibility & contrast

On white

4.91
#2D8121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D8121
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8121#FFFFFF#000000##FFFFFF
##2D81211.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#1F7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8121;
/* rgb */ color: rgb(45, 129, 33);
/* oklch */ color: oklch(53.3% 0.154 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a663',
    500: '#2d8121',
    950: '#000000',
  },
}
SCSS
$custom: #2d8121;
$custom-light: #71a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8121",
  "rgb": {
    "r": 45,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 112.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.15351,
    "h": 141.3
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#2D8121
secondary
#A64AB4
accent
#45E2CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D8121

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

Preview Lab → · Contrast checker → · Palette generator →

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