#2D822A#2D822A

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

Color values

HEX#2D822A
RGBrgb(45, 130, 42)
HSLhsl(118, 51%, 34%)
HSVhsv(118, 68%, 51%)
CMYKcmyk(65.4%, 0%, 67.7%, 49%)
CIE-LABlab(47.87, -43.39, 38.92)
CIE-LCHlch(47.87, 58.29, 138.11°)
OKLaboklab(53.62% -0.118 0.09)
OKLCHoklch(53.62% 0.148 142.7)
XYZxyz(9.4822, 16.6894, 4.9117)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D822A #7F2A82
analogous
#59822A #2D822A #2A8253
triadic
#2D822A #2A2D82 #822A2D
tetradic
#2D822A #2A5982 #7F2A82 #82532A
square
#2D822A #2A5982 #7F2A82 #82532A
split-complementary
#2D822A #532A82 #822A59
monochromatic
#0D250C #1D541B #2D822A #3DB039 #60CA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D822A#FFFFFF#000000##FFFFFF
##2D822A1.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)
#85761F
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#1C7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d822a;
/* rgb */ color: rgb(45, 130, 42);
/* oklch */ color: oklch(53.6% 0.148 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a768',
    500: '#2d822a',
    950: '#000000',
  },
}
SCSS
$custom: #2d822a;
$custom-light: #71a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2d822a",
  "rgb": {
    "r": 45,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 117.955,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.14841,
    "h": 142.7
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#2D822A
secondary
#AD58B0
accent
#4DDBD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2D822A

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

Preview Lab → · Contrast checker → · Palette generator →

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