#2D841D#2D841D

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

Color values

HEX#2D841D
RGBrgb(45, 132, 29)
HSLhsl(111, 64%, 32%)
HSVhsv(111, 78%, 52%)
CMYKcmyk(65.9%, 0%, 78%, 48.2%)
CIE-LABlab(48.45, -45.30, 44.80)
CIE-LCHlch(48.45, 63.71, 135.32°)
OKLaboklab(54.07% -0.1239 0.1006)
OKLCHoklch(54.07% 0.16 140.9)
XYZxyz(9.5547, 17.1482, 3.9686)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D841D #741D84
analogous
#61841D #2D841D #1D8441
triadic
#2D841D #1D2D84 #841D2D
tetradic
#2D841D #1D6184 #741D84 #84411D
square
#2D841D #1D6184 #741D84 #84411D
split-complementary
#2D841D #411D84 #841D61
monochromatic
#0B2007 #1C5212 #2D841D #3EB628 #5CD645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D841D#FFFFFF#000000##FFFFFF
##2D841D1.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)
#887706
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#1E8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d841d;
/* rgb */ color: rgb(45, 132, 29);
/* oklch */ color: oklch(54.1% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a961',
    500: '#2d841d',
    950: '#000000',
  },
}
SCSS
$custom: #2d841d;
$custom-light: #72a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2d841d",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 110.68,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.1596,
    "h": 140.9
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#2D841D
secondary
#A546B7
accent
#41E7CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D841D

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

Preview Lab → · Contrast checker → · Palette generator →

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