#2D8422#2D8422

#2D8422 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.157 H 141.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2D8422
RGBrgb(45, 132, 34)
HSLhsl(113, 59%, 33%)
HSVhsv(113, 74%, 52%)
CMYKcmyk(65.9%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.48, -44.90, 42.95)
CIE-LCHlch(48.48, 62.14, 136.27°)
OKLaboklab(54.1% -0.1226 0.0974)
OKLCHoklch(54.1% 0.157 141.5)
XYZxyz(9.6217, 17.1750, 4.3211)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8422 #792284
analogous
#5E8422 #2D8422 #228448
triadic
#2D8422 #222D84 #84222D
tetradic
#2D8422 #225E84 #792284 #844822
square
#2D8422 #225E84 #792284 #844822
split-complementary
#2D8422 #482284 #84225E
monochromatic
#0C2309 #1C5315 #2D8422 #3EB52F #5DD24F

Accessibility & contrast

On white

4.73
#2D8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2D8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8422
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8422#FFFFFF#000000##FFFFFF
##2D84221.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#1D8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8422;
/* rgb */ color: rgb(45, 132, 34);
/* oklch */ color: oklch(54.1% 0.157 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a964',
    500: '#2d8422',
    950: '#000000',
  },
}
SCSS
$custom: #2d8422;
$custom-light: #72a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8422",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 113.265,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.15657,
    "h": 141.5
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#2D8422
secondary
#A94DB5
accent
#46E2D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8422

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

Preview Lab → · Contrast checker → · Palette generator →

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