#2D871E#2D871E

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

Color values

HEX#2D871E
RGBrgb(45, 135, 30)
HSLhsl(111, 64%, 32%)
HSVhsv(111, 78%, 53%)
CMYKcmyk(66.7%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.47, -46.31, 45.45)
CIE-LCHlch(49.47, 64.89, 135.54°)
OKLaboklab(54.92% -0.1266 0.1021)
OKLCHoklch(54.92% 0.163 141.1)
XYZxyz(9.9800, 17.9786, 4.1723)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D871E #781E87
analogous
#61871E #2D871E #1E8744
triadic
#2D871E #1E2D87 #871E2D
tetradic
#2D871E #1E6187 #781E87 #87441E
square
#2D871E #1E6187 #781E87 #87441E
split-complementary
#2D871E #441E87 #871E61
monochromatic
#0C2308 #1C5513 #2D871E #3EB929 #5DD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D871E#FFFFFF#000000##000000
##2D871E1.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)
#8B7A06
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#1D8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d871e;
/* rgb */ color: rgb(45, 135, 30);
/* oklch */ color: oklch(54.9% 0.163 141.1);
Tailwind
colors: {
  custom: {
    50: '#73ab62',
    500: '#2d871e',
    950: '#000000',
  },
}
SCSS
$custom: #2d871e;
$custom-light: #73ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#2d871e",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 111.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.16263,
    "h": 141.1
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#2D871E
secondary
#A948B9
accent
#41E7CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D871E

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

Preview Lab → · Contrast checker → · Palette generator →

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