#2D831F#2D831F

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

Color values

HEX#2D831F
RGBrgb(45, 131, 31)
HSLhsl(112, 62%, 32%)
HSVhsv(112, 76%, 51%)
CMYKcmyk(65.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.12, -44.78, 43.74)
CIE-LCHlch(48.12, 62.60, 135.67°)
OKLaboklab(53.8% -0.1224 0.0987)
OKLCHoklch(53.8% 0.157 141.1)
XYZxyz(9.4453, 16.8885, 4.0581)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D831F #751F83
analogous
#5F831F #2D831F #1F8343
triadic
#2D831F #1F2D83 #831F2D
tetradic
#2D831F #1F5F83 #751F83 #83431F
square
#2D831F #1F5F83 #751F83 #83431F
split-complementary
#2D831F #431F83 #831F5F
monochromatic
#0B2008 #1C5213 #2D831F #3EB42B #5CD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D831F#FFFFFF#000000##FFFFFF
##2D831F1.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)
#86770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#1E7F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d831f;
/* rgb */ color: rgb(45, 131, 31);
/* oklch */ color: oklch(53.8% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a862',
    500: '#2d831f',
    950: '#000000',
  },
}
SCSS
$custom: #2d831f;
$custom-light: #72a862;
$custom-dark: #000000;
JSON
{
  "hex": "#2d831f",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 111.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.15722,
    "h": 141.1
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#2D831F
secondary
#A648B6
accent
#43E5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D831F

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

Preview Lab → · Contrast checker → · Palette generator →

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