#2D882F#2D882F

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

Color values

HEX#2D882F
RGBrgb(45, 136, 47)
HSLhsl(121, 50%, 35%)
HSVhsv(121, 67%, 53%)
CMYKcmyk(66.9%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.94, -45.09, 38.94)
CIE-LCHlch(49.94, 59.58, 139.19°)
OKLaboklab(55.35% -0.1224 0.0906)
OKLCHoklch(55.35% 0.152 143.5)
XYZxyz(10.3988, 18.3704, 5.6866)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D882F #882D86
analogous
#58882D #2D882F #2D885C
triadic
#2D882F #2F2D88 #882F2D
tetradic
#2D882F #2D5888 #882D86 #885C2D
square
#2D882F #2D5888 #882D86 #885C2D
split-complementary
#2D882F #5C2D88 #882D58
monochromatic
#0F2C0F #1E5A1F #2D882F #3CB63F #64CC66

Accessibility & contrast

On white

4.49
#2D882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D882F#FFFFFF#000000##000000
##2D882F1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#188475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d882f;
/* rgb */ color: rgb(45, 136, 47);
/* oklch */ color: oklch(55.3% 0.152 143.5);
Tailwind
colors: {
  custom: {
    50: '#72ac6b',
    500: '#2d882f',
    950: '#000000',
  },
}
SCSS
$custom: #2d882f;
$custom-light: #72ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d882f",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 121.319,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.15224,
    "h": 143.5
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#2D882F
secondary
#B25FB0
accent
#4ED7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2D882F

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

Preview Lab → · Contrast checker → · Palette generator →

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