#2D8222#2D8222

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

Color values

HEX#2D8222
RGBrgb(45, 130, 34)
HSLhsl(113, 59%, 32%)
HSVhsv(113, 74%, 51%)
CMYKcmyk(65.4%, 0%, 73.8%, 49%)
CIE-LABlab(47.80, -44.16, 42.26)
CIE-LCHlch(47.80, 61.12, 136.26°)
OKLaboklab(53.54% -0.1206 0.096)
OKLCHoklch(53.54% 0.154 141.5)
XYZxyz(9.3531, 16.6377, 4.2316)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8222 #772282
analogous
#5D8222 #2D8222 #228247
triadic
#2D8222 #222D82 #82222D
tetradic
#2D8222 #225D82 #772282 #824722
square
#2D8222 #225D82 #772282 #824722
split-complementary
#2D8222 #472282 #82225D
monochromatic
#0B2109 #1C5115 #2D8222 #3EB32F #5DD14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8222#FFFFFF#000000##FFFFFF
##2D82221.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)
#857612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#1E7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8222;
/* rgb */ color: rgb(45, 130, 34);
/* oklch */ color: oklch(53.5% 0.154 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a763',
    500: '#2d8222',
    950: '#000000',
  },
}
SCSS
$custom: #2d8222;
$custom-light: #72a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8222",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 113.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.1541,
    "h": 141.5
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#2D8222
secondary
#A84CB4
accent
#46E2D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2D8222

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

Preview Lab → · Contrast checker → · Palette generator →

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