#2D831A#2D831A

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

Color values

HEX#2D831A
RGBrgb(45, 131, 26)
HSLhsl(109, 67%, 31%)
HSVhsv(109, 80%, 51%)
CMYKcmyk(65.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.09, -45.15, 45.50)
CIE-LCHlch(48.09, 64.10, 134.78°)
OKLaboklab(53.76% -0.1237 0.1016)
OKLCHoklch(53.76% 0.16 140.6)
XYZxyz(9.3845, 16.8641, 3.7376)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D831A #701A83
analogous
#61831A #2D831A #1A833B
triadic
#2D831A #1A2D83 #831A2D
tetradic
#2D831A #1A6183 #701A83 #833B1A
square
#2D831A #1A6183 #701A83 #833B1A
split-complementary
#2D831A #3B1A83 #831A61
monochromatic
#0A1D06 #1B5010 #2D831A #3FB624 #5AD93F

Accessibility & contrast

On white

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

On black

4.37
#2D831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D831A#FFFFFF#000000##FFFFFF
##2D831A1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#1F7F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d831a;
/* rgb */ color: rgb(45, 131, 26);
/* oklch */ color: oklch(53.8% 0.160 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a860',
    500: '#2d831a',
    950: '#000000',
  },
}
SCSS
$custom: #2d831a;
$custom-light: #72a860;
$custom-dark: #000000;
JSON
{
  "hex": "#2d831a",
  "rgb": {
    "r": 45,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 109.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.16004,
    "h": 140.6
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#2D831A
secondary
#A242B7
accent
#3EEACB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D831A

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

Preview Lab → · Contrast checker → · Palette generator →

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