#2C871D#2C871D

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

Color values

HEX#2C871D
RGBrgb(44, 135, 29)
HSLhsl(112, 65%, 32%)
HSVhsv(112, 79%, 53%)
CMYKcmyk(67.4%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.44, -46.61, 45.76)
CIE-LCHlch(49.44, 65.32, 135.53°)
OKLaboklab(54.88% -0.1274 0.1026)
OKLCHoklch(54.88% 0.164 141.2)
XYZxyz(9.9239, 17.9511, 4.1041)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C871D #781D87
analogous
#61871D #2C871D #1D8743
triadic
#2C871D #1D2C87 #871D2C
tetradic
#2C871D #1D6187 #781D87 #87431D
square
#2C871D #1D6187 #781D87 #87431D
split-complementary
#2C871D #431D87 #871D61
monochromatic
#0B2207 #1C5512 #2C871D #3CB928 #5BD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C871D#FFFFFF#000000##000000
##2C871D1.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)
#8B7A04
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#1B8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c871d;
/* rgb */ color: rgb(44, 135, 29);
/* oklch */ color: oklch(54.9% 0.164 141.2);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2c871d',
    950: '#000000',
  },
}
SCSS
$custom: #2c871d;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c871d",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 111.509,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.16357,
    "h": 141.2
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#2C871D
secondary
#A946B9
accent
#40E8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C871D

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

Preview Lab → · Contrast checker → · Palette generator →

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