#2D831D#2D831D

#2D831D is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.158 H 140.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D831D
RGBrgb(45, 131, 29)
HSLhsl(111, 64%, 31%)
HSVhsv(111, 78%, 51%)
CMYKcmyk(65.6%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.11, -44.93, 44.47)
CIE-LCHlch(48.11, 63.22, 135.30°)
OKLaboklab(53.78% -0.1229 0.0999)
OKLCHoklch(53.78% 0.158 140.9)
XYZxyz(9.4198, 16.8783, 3.9236)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D831D #731D83
analogous
#60831D #2D831D #1D8340
triadic
#2D831D #1D2D83 #831D2D
tetradic
#2D831D #1D6083 #731D83 #83401D
square
#2D831D #1D6083 #731D83 #83401D
split-complementary
#2D831D #401D83 #831D60
monochromatic
#0B1F07 #1C5112 #2D831D #3EB528 #5BD645

Accessibility & contrast

On white

4.80
#2D831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2D831D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D831D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D831D#FFFFFF#000000##FFFFFF
##2D831D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877606
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#1E7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d831d;
/* rgb */ color: rgb(45, 131, 29);
/* oklch */ color: oklch(53.8% 0.158 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a861',
    500: '#2d831d',
    950: '#000000',
  },
}
SCSS
$custom: #2d831d;
$custom-light: #72a861;
$custom-dark: #000000;
JSON
{
  "hex": "#2d831d",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 110.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.15839,
    "h": 140.9
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D831D

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

Preview Lab → · Contrast checker → · Palette generator →

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