#2D882A#2D882A

#2D882A is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.156 H 142.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D882A
RGBrgb(45, 136, 42)
HSLhsl(118, 53%, 35%)
HSVhsv(118, 69%, 53%)
CMYKcmyk(66.9%, 0%, 69.1%, 46.7%)
CIE-LABlab(49.90, -45.63, 41.12)
CIE-LCHlch(49.90, 61.42, 137.98°)
OKLaboklab(55.3% -0.1241 0.0946)
OKLCHoklch(55.3% 0.156 142.7)
XYZxyz(10.3037, 18.3323, 5.1855)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D882A #852A88
analogous
#5C882A #2D882A #2A8856
triadic
#2D882A #2A2D88 #882A2D
tetradic
#2D882A #2A5C88 #852A88 #88562A
square
#2D882A #2A5C88 #852A88 #88562A
split-complementary
#2D882A #562A88 #882A5C
monochromatic
#0E2A0D #1E591C #2D882A #3CB738 #62CE5F

Accessibility & contrast

On white

4.50
#2D882A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2D882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D882A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D882A#FFFFFF#000000##000000
##2D882A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#198475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d882a;
/* rgb */ color: rgb(45, 136, 42);
/* oklch */ color: oklch(55.3% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#73ac68',
    500: '#2d882a',
    950: '#000000',
  },
}
SCSS
$custom: #2d882a;
$custom-light: #73ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d882a",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 118.085,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55297,
    "c": 0.15605,
    "h": 142.7
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#2D882A
secondary
#B05BB3
accent
#4CDCD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D882A

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

Preview Lab → · Contrast checker → · Palette generator →

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