#2D8221#2D8221

#2D8221 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.155 H 141.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D8221
RGBrgb(45, 130, 33)
HSLhsl(113, 60%, 32%)
HSVhsv(113, 75%, 51%)
CMYKcmyk(65.4%, 0%, 74.6%, 49%)
CIE-LABlab(47.79, -44.25, 42.64)
CIE-LCHlch(47.79, 61.45, 136.06°)
OKLaboklab(53.53% -0.1208 0.0967)
OKLCHoklch(53.53% 0.155 141.3)
XYZxyz(9.3389, 16.6320, 4.1567)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8221 #762182
analogous
#5E8221 #2D8221 #218245
triadic
#2D8221 #212D82 #82212D
tetradic
#2D8221 #215E82 #762182 #824521
square
#2D8221 #215E82 #762182 #824521
split-complementary
#2D8221 #452182 #82215E
monochromatic
#0B2008 #1C5115 #2D8221 #3EB32D #5CD24C

Accessibility & contrast

On white

4.85
#2D8221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D8221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8221
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8221#FFFFFF#000000##FFFFFF
##2D82211.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#1E7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8221;
/* rgb */ color: rgb(45, 130, 33);
/* oklch */ color: oklch(53.5% 0.155 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a763',
    500: '#2d8221',
    950: '#000000',
  },
}
SCSS
$custom: #2d8221;
$custom-light: #72a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8221",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 112.577,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.15474,
    "h": 141.3
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#2D8221
secondary
#A74AB4
accent
#45E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D8221

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

Preview Lab → · Contrast checker → · Palette generator →

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