#2D873C#2D873C

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

Color values

HEX#2D873C
RGBrgb(45, 135, 60)
HSLhsl(130, 50%, 35%)
HSVhsv(130, 67%, 53%)
CMYKcmyk(66.7%, 0%, 55.6%, 47.1%)
CIE-LABlab(49.75, -43.03, 32.37)
CIE-LCHlch(49.75, 53.85, 143.05°)
OKLaboklab(55.24% -0.1162 0.0775)
OKLCHoklch(55.24% 0.14 146.3)
XYZxyz(10.5611, 18.2110, 7.2326)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D873C #872D78
analogous
#4B872D #2D873C #2D8769
triadic
#2D873C #3C2D87 #873C2D
tetradic
#2D873C #2D4B87 #872D78 #87692D
square
#2D873C #2D4B87 #872D78 #87692D
split-complementary
#2D873C #692D87 #872D4B
monochromatic
#0E2B13 #1E5928 #2D873C #3CB550 #63CB75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D873C#FFFFFF#000000##000000
##2D873C1.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)
#897B35
Deuteranopia (green-blind)
#7E7342
Tritanopia (blue-blind)
#128476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d873c;
/* rgb */ color: rgb(45, 135, 60);
/* oklch */ color: oklch(55.2% 0.140 146.3);
Tailwind
colors: {
  custom: {
    50: '#71ab74',
    500: '#2d873c',
    950: '#000000',
  },
}
SCSS
$custom: #2d873c;
$custom-light: #71ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d873c",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 130,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.13972,
    "h": 146.3
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#2D873C
secondary
#B25EA4
accent
#4EC2DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D873C

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

Preview Lab → · Contrast checker → · Palette generator →

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