#2D8421#2D8421

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

Color values

HEX#2D8421
RGBrgb(45, 132, 33)
HSLhsl(113, 60%, 32%)
HSVhsv(113, 75%, 52%)
CMYKcmyk(65.9%, 0%, 75%, 48.2%)
CIE-LABlab(48.47, -44.99, 43.34)
CIE-LCHlch(48.47, 62.46, 136.07°)
OKLaboklab(54.1% -0.1228 0.0981)
OKLCHoklch(54.1% 0.157 141.4)
XYZxyz(9.6075, 17.1693, 4.2462)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8421 #782184
analogous
#5F8421 #2D8421 #218446
triadic
#2D8421 #212D84 #84212D
tetradic
#2D8421 #215F84 #782184 #844621
square
#2D8421 #215F84 #782184 #844621
split-complementary
#2D8421 #462184 #84215F
monochromatic
#0C2209 #1C5315 #2D8421 #3EB52D #5DD24D

Accessibility & contrast

On white

4.74
#2D8421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2D8421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8421
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8421#FFFFFF#000000##FFFFFF
##2D84211.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#1D8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8421;
/* rgb */ color: rgb(45, 132, 33);
/* oklch */ color: oklch(54.1% 0.157 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2d8421',
    950: '#000000',
  },
}
SCSS
$custom: #2d8421;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8421",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 112.727,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.1572,
    "h": 141.4
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#2D8421
secondary
#A94BB6
accent
#45E3D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8421

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

Preview Lab → · Contrast checker → · Palette generator →

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