#2D8420#2D8420

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

Color values

HEX#2D8420
RGBrgb(45, 132, 32)
HSLhsl(112, 61%, 32%)
HSVhsv(112, 76%, 52%)
CMYKcmyk(65.9%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.47, -45.07, 43.71)
CIE-LCHlch(48.47, 62.79, 135.87°)
OKLaboklab(54.09% -0.1231 0.0988)
OKLCHoklch(54.09% 0.158 141.3)
XYZxyz(9.5937, 17.1638, 4.1736)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8420 #772084
analogous
#5F8420 #2D8420 #208445
triadic
#2D8420 #202D84 #84202D
tetradic
#2D8420 #205F84 #772084 #844520
square
#2D8420 #205F84 #772084 #844520
split-complementary
#2D8420 #452084 #84205F
monochromatic
#0B2108 #1C5314 #2D8420 #3EB52C #5DD34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8420#FFFFFF#000000##FFFFFF
##2D84201.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)
#87770D
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#1E8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d8420;
/* rgb */ color: rgb(45, 132, 32);
/* oklch */ color: oklch(54.1% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#72a963',
    500: '#2d8420',
    950: '#000000',
  },
}
SCSS
$custom: #2d8420;
$custom-light: #72a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8420",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 112.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.15783,
    "h": 141.3
  },
  "luminance": 0.17165
}

Semantic roles & 50–950 ramp

primary
#2D8420
secondary
#A84AB6
accent
#44E4CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8420

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

Preview Lab → · Contrast checker → · Palette generator →

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