#2C871E#2C871E

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

Color values

HEX#2C871E
RGBrgb(44, 135, 30)
HSLhsl(112, 64%, 32%)
HSVhsv(112, 78%, 53%)
CMYKcmyk(67.4%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.44, -46.54, 45.42)
CIE-LCHlch(49.44, 65.03, 135.70°)
OKLaboklab(54.89% -0.1271 0.102)
OKLCHoklch(54.89% 0.163 141.3)
XYZxyz(9.9365, 17.9561, 4.1703)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C871E #791E87
analogous
#61871E #2C871E #1E8745
triadic
#2C871E #1E2C87 #871E2C
tetradic
#2C871E #1E6187 #791E87 #87451E
square
#2C871E #1E6187 #791E87 #87451E
split-complementary
#2C871E #451E87 #871E61
monochromatic
#0B2308 #1C5513 #2C871E #3CB929 #5CD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c871e;
/* rgb */ color: rgb(44, 135, 30);
/* oklch */ color: oklch(54.9% 0.163 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ab62',
    500: '#2c871e',
    950: '#000000',
  },
}
SCSS
$custom: #2c871e;
$custom-light: #73ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c871e",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 112,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.16301,
    "h": 141.3
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#2C871E
secondary
#AA48B9
accent
#41E7D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C871E

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

Preview Lab → · Contrast checker → · Palette generator →

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