#2D873B#2D873B

#2D873B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.141 H 146.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2D873B
RGBrgb(45, 135, 59)
HSLhsl(129, 50%, 35%)
HSVhsv(129, 67%, 53%)
CMYKcmyk(66.7%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.74, -43.18, 32.86)
CIE-LCHlch(49.74, 54.26, 142.72°)
OKLaboklab(55.22% -0.1167 0.0785)
OKLCHoklch(55.22% 0.141 146.1)
XYZxyz(10.5349, 18.2005, 7.0947)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D873B #872D79
analogous
#4C872D #2D873B #2D8768
triadic
#2D873B #3B2D87 #873B2D
tetradic
#2D873B #2D4C87 #872D79 #87682D
square
#2D873B #2D4C87 #872D79 #87682D
split-complementary
#2D873B #682D87 #872D4C
monochromatic
#0E2B13 #1E5927 #2D873B #3CB54F #63CB73

Accessibility & contrast

On white

4.53
#2D873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2D873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D873B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D873B#FFFFFF#000000##000000
##2D873B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7E7341
Tritanopia (blue-blind)
#138476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d873b;
/* rgb */ color: rgb(45, 135, 59);
/* oklch */ color: oklch(55.2% 0.141 146.1);
Tailwind
colors: {
  custom: {
    50: '#71ab73',
    500: '#2d873b',
    950: '#000000',
  },
}
SCSS
$custom: #2d873b;
$custom-light: #71ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#2d873b",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 129.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.14064,
    "h": 146.1
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#2D873B
secondary
#B25EA5
accent
#4EC4DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D873B

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

Preview Lab → · Contrast checker → · Palette generator →

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