#2D873F#2D873F

#2D873F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.137 H 147.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D873F
RGBrgb(45, 135, 63)
HSLhsl(132, 50%, 35%)
HSVhsv(132, 67%, 53%)
CMYKcmyk(66.7%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.79, -42.58, 30.86)
CIE-LCHlch(49.79, 52.59, 144.07°)
OKLaboklab(55.28% -0.115 0.0744)
OKLCHoklch(55.28% 0.137 147.1)
XYZxyz(10.6426, 18.2436, 7.6622)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D873F #872D75
analogous
#48872D #2D873F #2D876C
triadic
#2D873F #3F2D87 #873F2D
tetradic
#2D873F #2D4887 #872D75 #876C2D
square
#2D873F #2D4887 #872D75 #876C2D
split-complementary
#2D873F #6C2D87 #872D48
monochromatic
#0E2B14 #1E592A #2D873F #3CB554 #63CB78

Accessibility & contrast

On white

4.52
#2D873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2D873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D873F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D873F#FFFFFF#000000##000000
##2D873F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#118476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d873f;
/* rgb */ color: rgb(45, 135, 63);
/* oklch */ color: oklch(55.3% 0.137 147.1);
Tailwind
colors: {
  custom: {
    50: '#71ab76',
    500: '#2d873f',
    950: '#000000',
  },
}
SCSS
$custom: #2d873f;
$custom-light: #71ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d873f",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 132,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.13692,
    "h": 147.1
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#2D873F
secondary
#B25EA1
accent
#4EBEDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D873F

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

Preview Lab → · Contrast checker → · Palette generator →

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