#2D822D#2D822D

#2D822D is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.146 H 143.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2D822D
RGBrgb(45, 130, 45)
HSLhsl(120, 49%, 34%)
HSVhsv(120, 65%, 51%)
CMYKcmyk(65.4%, 0%, 65.4%, 49%)
CIE-LABlab(47.89, -43.06, 37.58)
CIE-LCHlch(47.89, 57.15, 138.89°)
OKLaboklab(53.65% -0.1169 0.0875)
OKLCHoklch(53.65% 0.146 143.2)
XYZxyz(9.5379, 16.7117, 5.2051)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D822D #822D82
analogous
#58822D #2D822D #2D8258
triadic
#2D822D #2D2D82 #822D2D
tetradic
#2D822D #2D5882 #822D82 #82582D
square
#2D822D #2D5882 #822D82 #82582D
split-complementary
#2D822D #582D82 #822D58
monochromatic
#0E270E #1D551D #2D822D #3DAF3D #61C861

Accessibility & contrast

On white

4.84
#2D822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2D822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D822D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D822D#FFFFFF#000000##FFFFFF
##2D822D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857623
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#1B7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d822d;
/* rgb */ color: rgb(45, 130, 45);
/* oklch */ color: oklch(53.6% 0.146 143.2);
Tailwind
colors: {
  custom: {
    50: '#71a76a',
    500: '#2d822d',
    950: '#000000',
  },
}
SCSS
$custom: #2d822d;
$custom-light: #71a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d822d",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.14605,
    "h": 143.2
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#2D822D
secondary
#AF5CAF
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2D822D

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

Preview Lab → · Contrast checker → · Palette generator →

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