#2C871B#2C871B

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

Color values

HEX#2C871B
RGBrgb(44, 135, 27)
HSLhsl(111, 67%, 32%)
HSVhsv(111, 80%, 53%)
CMYKcmyk(67.4%, 0%, 80%, 47.1%)
CIE-LABlab(49.43, -46.75, 46.44)
CIE-LCHlch(49.43, 65.90, 135.19°)
OKLaboklab(54.86% -0.1279 0.1037)
OKLCHoklch(54.86% 0.165 141)
XYZxyz(9.9000, 17.9415, 3.9780)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C871B #761B87
analogous
#62871B #2C871B #1B8740
triadic
#2C871B #1B2C87 #871B2C
tetradic
#2C871B #1B6287 #761B87 #87401B
square
#2C871B #1B6287 #761B87 #87401B
split-complementary
#2C871B #401B87 #871B62
monochromatic
#0B2107 #1B5411 #2C871B #3DBA25 #5BD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C871B#FFFFFF#000000##000000
##2C871B1.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)
#8B7A00
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#1B8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c871b;
/* rgb */ color: rgb(44, 135, 27);
/* oklch */ color: oklch(54.9% 0.165 141.0);
Tailwind
colors: {
  custom: {
    50: '#73ab61',
    500: '#2c871b',
    950: '#000000',
  },
}
SCSS
$custom: #2c871b;
$custom-light: #73ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c871b",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 110.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54864,
    "c": 0.16465,
    "h": 141
  },
  "luminance": 0.17943
}

Semantic roles & 50–950 ramp

primary
#2C871B
secondary
#A744BA
accent
#3EEACF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C871B

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

Preview Lab → · Contrast checker → · Palette generator →

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