#2D821A#2D821A

#2D821A is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2D821A
RGBrgb(45, 130, 26)
HSLhsl(109, 67%, 31%)
HSVhsv(109, 80%, 51%)
CMYKcmyk(65.4%, 0%, 80%, 49%)
CIE-LABlab(47.75, -44.78, 45.17)
CIE-LCHlch(47.75, 63.61, 134.75°)
OKLaboklab(53.48% -0.1227 0.1009)
OKLCHoklch(53.48% 0.159 140.6)
XYZxyz(9.2508, 16.5968, 3.6931)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D821A #6F1A82
analogous
#61821A #2D821A #1A823B
triadic
#2D821A #1A2D82 #821A2D
tetradic
#2D821A #1A6182 #6F1A82 #823B1A
square
#2D821A #1A6182 #6F1A82 #823B1A
split-complementary
#2D821A #3B1A82 #821A61
monochromatic
#0A1C06 #1B4F10 #2D821A #3FB524 #5AD83E

Accessibility & contrast

On white

4.86
#2D821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2D821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D821A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D821A#FFFFFF#000000##FFFFFF
##2D821A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#1F7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d821a;
/* rgb */ color: rgb(45, 130, 26);
/* oklch */ color: oklch(53.5% 0.159 140.6);
Tailwind
colors: {
  custom: {
    50: '#72a75f',
    500: '#2d821a',
    950: '#000000',
  },
}
SCSS
$custom: #2d821a;
$custom-light: #72a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d821a",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 109.038,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.15885,
    "h": 140.6
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#2D821A
secondary
#A142B6
accent
#3EEACA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D821A

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

Preview Lab → · Contrast checker → · Palette generator →

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