#2C871C#2C871C

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

Color values

HEX#2C871C
RGBrgb(44, 135, 28)
HSLhsl(111, 66%, 32%)
HSVhsv(111, 79%, 53%)
CMYKcmyk(67.4%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.43, -46.68, 46.11)
CIE-LCHlch(49.43, 65.61, 135.36°)
OKLaboklab(54.87% -0.1276 0.1032)
OKLCHoklch(54.87% 0.164 141)
XYZxyz(9.9118, 17.9463, 4.0400)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C871C #771C87
analogous
#62871C #2C871C #1C8742
triadic
#2C871C #1C2C87 #871C2C
tetradic
#2C871C #1C6287 #771C87 #87421C
square
#2C871C #1C6287 #771C87 #87421C
split-complementary
#2C871C #421C87 #871C62
monochromatic
#0B2207 #1B5411 #2C871C #3DBA27 #5BD845

Accessibility & contrast

On white

4.58
#2C871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C871C#FFFFFF#000000##000000
##2C871C1.004.584.594.59
#FFFFFF4.581.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)
#1B8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c871c;
/* rgb */ color: rgb(44, 135, 28);
/* oklch */ color: oklch(54.9% 0.164 141.0);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2c871c',
    950: '#000000',
  },
}
SCSS
$custom: #2c871c;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c871c",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 111.028,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.16411,
    "h": 141
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#2C871C
secondary
#A845BA
accent
#3FE9CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C871C

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

Preview Lab → · Contrast checker → · Palette generator →

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