#2D821D#2D821D

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

Color values

HEX#2D821D
RGBrgb(45, 130, 29)
HSLhsl(110, 64%, 31%)
HSVhsv(110, 78%, 51%)
CMYKcmyk(65.4%, 0%, 77.7%, 49%)
CIE-LABlab(47.77, -44.57, 44.13)
CIE-LCHlch(47.77, 62.72, 135.28°)
OKLaboklab(53.5% -0.1219 0.0992)
OKLCHoklch(53.5% 0.157 140.9)
XYZxyz(9.2861, 16.6110, 3.8790)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D821D #721D82
analogous
#5F821D #2D821D #1D823F
triadic
#2D821D #1D2D82 #821D2D
tetradic
#2D821D #1D5F82 #721D82 #823F1D
square
#2D821D #1D5F82 #721D82 #823F1D
split-complementary
#2D821D #3F1D82 #821D5F
monochromatic
#0A1E07 #1C5012 #2D821D #3EB428 #5BD544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D821D#FFFFFF#000000##FFFFFF
##2D821D1.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)
#857607
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#1F7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d821d;
/* rgb */ color: rgb(45, 130, 29);
/* oklch */ color: oklch(53.5% 0.157 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a761',
    500: '#2d821d',
    950: '#000000',
  },
}
SCSS
$custom: #2d821d;
$custom-light: #72a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2d821d",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 110.495,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.15718,
    "h": 140.9
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#2D821D
secondary
#A346B5
accent
#41E7CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2D821D

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

Preview Lab → · Contrast checker → · Palette generator →

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