#2D871C#2D871C

#2D871C is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.164 H 140.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D871C
RGBrgb(45, 135, 28)
HSLhsl(110, 66%, 32%)
HSVhsv(110, 79%, 53%)
CMYKcmyk(66.7%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.46, -46.46, 46.14)
CIE-LCHlch(49.46, 65.48, 135.20°)
OKLaboklab(54.9% -0.1271 0.1032)
OKLCHoklch(54.9% 0.164 140.9)
XYZxyz(9.9553, 17.9687, 4.0420)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D871C #761C87
analogous
#63871C #2D871C #1C8740
triadic
#2D871C #1C2D87 #871C2D
tetradic
#2D871C #1C6387 #761C87 #87401C
square
#2D871C #1C6387 #761C87 #87401C
split-complementary
#2D871C #401C87 #871C63
monochromatic
#0B2207 #1C5411 #2D871C #3EBA27 #5CD845

Accessibility & contrast

On white

4.57
#2D871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2D871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D871C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D871C#FFFFFF#000000##000000
##2D871C1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#1D8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d871c;
/* rgb */ color: rgb(45, 135, 28);
/* oklch */ color: oklch(54.9% 0.164 140.9);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2d871c',
    950: '#000000',
  },
}
SCSS
$custom: #2d871c;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d871c",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 110.467,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.16373,
    "h": 140.9
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#2D871C
secondary
#A745BA
accent
#3FE9CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D871C

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

Preview Lab → · Contrast checker → · Palette generator →

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