#2D841A#2D841A

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

Color values

HEX#2D841A
RGBrgb(45, 132, 26)
HSLhsl(109, 67%, 31%)
HSVhsv(109, 80%, 52%)
CMYKcmyk(65.9%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.43, -45.51, 45.82)
CIE-LCHlch(48.43, 64.58, 134.80°)
OKLaboklab(54.05% -0.1246 0.1023)
OKLCHoklch(54.05% 0.161 140.6)
XYZxyz(9.5194, 17.1341, 3.7826)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D841A #711A84
analogous
#62841A #2D841A #1A843C
triadic
#2D841A #1A2D84 #841A2D
tetradic
#2D841A #1A6284 #711A84 #843C1A
square
#2D841A #1A6284 #711A84 #843C1A
split-complementary
#2D841A #3C1A84 #841A62
monochromatic
#0A1E06 #1C5110 #2D841A #3EB724 #5BD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D841A#FFFFFF#000000##FFFFFF
##2D841A1.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)
#887700
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#1F8070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2d841a;
/* rgb */ color: rgb(45, 132, 26);
/* oklch */ color: oklch(54.0% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a960',
    500: '#2d841a',
    950: '#000000',
  },
}
SCSS
$custom: #2d841a;
$custom-light: #72a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2d841a",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 109.245,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54045,
    "c": 0.16123,
    "h": 140.6
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D841A

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

Preview Lab → · Contrast checker → · Palette generator →

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