#2D873D#2D873D

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

Color values

HEX#2D873D
RGBrgb(45, 135, 61)
HSLhsl(131, 50%, 35%)
HSVhsv(131, 67%, 53%)
CMYKcmyk(66.7%, 0%, 54.8%, 47.1%)
CIE-LABlab(49.76, -42.89, 31.87)
CIE-LCHlch(49.76, 53.43, 143.39°)
OKLaboklab(55.25% -0.1158 0.0765)
OKLCHoklch(55.25% 0.139 146.6)
XYZxyz(10.5877, 18.2217, 7.3731)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D873D #872D77
analogous
#4A872D #2D873D #2D876A
triadic
#2D873D #3D2D87 #873D2D
tetradic
#2D873D #2D4A87 #872D77 #876A2D
square
#2D873D #2D4A87 #872D77 #876A2D
split-complementary
#2D873D #6A2D87 #872D4A
monochromatic
#0E2B14 #1E5928 #2D873D #3CB552 #63CB76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D873D#FFFFFF#000000##000000
##2D873D1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B36
Deuteranopia (green-blind)
#7E7343
Tritanopia (blue-blind)
#128476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d873d;
/* rgb */ color: rgb(45, 135, 61);
/* oklch */ color: oklch(55.3% 0.139 146.6);
Tailwind
colors: {
  custom: {
    50: '#71ab74',
    500: '#2d873d',
    950: '#000000',
  },
}
SCSS
$custom: #2d873d;
$custom-light: #71ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d873d",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 130.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.13879,
    "h": 146.6
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#2D873D
secondary
#B25EA3
accent
#4EC1DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D873D

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

Preview Lab → · Contrast checker → · Palette generator →

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