#2D871D#2D871D

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

Color values

HEX#2D871D
RGBrgb(45, 135, 29)
HSLhsl(111, 65%, 32%)
HSVhsv(111, 79%, 53%)
CMYKcmyk(66.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.46, -46.39, 45.80)
CIE-LCHlch(49.46, 65.19, 135.36°)
OKLaboklab(54.91% -0.1268 0.1027)
OKLCHoklch(54.91% 0.163 141)
XYZxyz(9.9674, 17.9735, 4.1061)
Luminance0.1797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D871D #771D87
analogous
#62871D #2D871D #1D8742
triadic
#2D871D #1D2D87 #871D2D
tetradic
#2D871D #1D6287 #771D87 #87421D
square
#2D871D #1D6287 #771D87 #87421D
split-complementary
#2D871D #421D87 #871D62
monochromatic
#0B2207 #1C5512 #2D871D #3EB928 #5DD747

Accessibility & contrast

On white

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

On black

4.60
#2D871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D871D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D871D#FFFFFF#000000##000000
##2D871D1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d871d;
/* rgb */ color: rgb(45, 135, 29);
/* oklch */ color: oklch(54.9% 0.163 141.0);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2d871d',
    950: '#000000',
  },
}
SCSS
$custom: #2d871d;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d871d",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 110.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.16319,
    "h": 141
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#2D871D
secondary
#A846B9
accent
#40E8CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D871D

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

Preview Lab → · Contrast checker → · Palette generator →

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