#2D821E#2D821E

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

Color values

HEX#2D821E
RGBrgb(45, 130, 30)
HSLhsl(111, 63%, 31%)
HSVhsv(111, 77%, 51%)
CMYKcmyk(65.4%, 0%, 76.9%, 49%)
CIE-LABlab(47.77, -44.49, 43.77)
CIE-LCHlch(47.77, 62.41, 135.47°)
OKLaboklab(53.51% -0.1217 0.0986)
OKLCHoklch(53.51% 0.157 141)
XYZxyz(9.2987, 16.6160, 3.9452)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D821E #731E82
analogous
#5F821E #2D821E #1E8241
triadic
#2D821E #1E2D82 #821E2D
tetradic
#2D821E #1E5F82 #731E82 #82411E
square
#2D821E #1E5F82 #731E82 #82411E
split-complementary
#2D821E #411E82 #821E5F
monochromatic
#0B1F07 #1C5013 #2D821E #3EB429 #5BD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D821E#FFFFFF#000000##FFFFFF
##2D821E1.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)
#857609
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#1F7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d821e;
/* rgb */ color: rgb(45, 130, 30);
/* oklch */ color: oklch(53.5% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#72a761',
    500: '#2d821e',
    950: '#000000',
  },
}
SCSS
$custom: #2d821e;
$custom-light: #72a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2d821e",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 111,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53509,
    "c": 0.15659,
    "h": 141
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#2D821E
secondary
#A447B5
accent
#42E6CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2D821E

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

Preview Lab → · Contrast checker → · Palette generator →

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