#2D882B#2D882B

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

Color values

HEX#2D882B
RGBrgb(45, 136, 43)
HSLhsl(119, 52%, 35%)
HSVhsv(119, 68%, 53%)
CMYKcmyk(66.9%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.91, -45.53, 40.69)
CIE-LCHlch(49.91, 61.06, 138.21°)
OKLaboklab(55.31% -0.1237 0.0939)
OKLCHoklch(55.31% 0.155 142.8)
XYZxyz(10.3218, 18.3396, 5.2810)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D882B #862B88
analogous
#5B882B #2D882B #2B8858
triadic
#2D882B #2B2D88 #882B2D
tetradic
#2D882B #2B5B88 #862B88 #88582B
square
#2D882B #2B5B88 #862B88 #88582B
split-complementary
#2D882B #582B88 #882B5B
monochromatic
#0E2B0E #1E5A1C #2D882B #3CB63A #63CD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D882B#FFFFFF#000000##000000
##2D882B1.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)
#8B7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#198475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d882b;
/* rgb */ color: rgb(45, 136, 43);
/* oklch */ color: oklch(55.3% 0.155 142.8);
Tailwind
colors: {
  custom: {
    50: '#72ac69',
    500: '#2d882b',
    950: '#000000',
  },
}
SCSS
$custom: #2d882b;
$custom-light: #72ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d882b",
  "rgb": {
    "r": 45,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 118.71,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.15531,
    "h": 142.8
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#2D882B
secondary
#B15CB3
accent
#4CDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D882B

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

Preview Lab → · Contrast checker → · Palette generator →

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