#2C871A#2C871A

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

Color values

HEX#2C871A
RGBrgb(44, 135, 26)
HSLhsl(110, 68%, 32%)
HSVhsv(110, 81%, 53%)
CMYKcmyk(67.4%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.42, -46.82, 46.76)
CIE-LCHlch(49.42, 66.17, 135.03°)
OKLaboklab(54.86% -0.1281 0.1043)
OKLCHoklch(54.86% 0.165 140.9)
XYZxyz(9.8886, 17.9370, 3.9181)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C871A #751A87
analogous
#63871A #2C871A #1A873F
triadic
#2C871A #1A2C87 #871A2C
tetradic
#2C871A #1A6387 #751A87 #873F1A
square
#2C871A #1A6387 #751A87 #873F1A
split-complementary
#2C871A #3F1A87 #871A63
monochromatic
#0B2006 #1B5410 #2C871A #3DBA24 #5ADA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C871A#FFFFFF#000000##000000
##2C871A1.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)
#1B8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c871a;
/* rgb */ color: rgb(44, 135, 26);
/* oklch */ color: oklch(54.9% 0.165 140.9);
Tailwind
colors: {
  custom: {
    50: '#73ab60',
    500: '#2c871a',
    950: '#000000',
  },
}
SCSS
$custom: #2c871a;
$custom-light: #73ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c871a",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 110.092,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.16516,
    "h": 140.9
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#2C871A
secondary
#A742BA
accent
#3DEBCE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C871A

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

Preview Lab → · Contrast checker → · Palette generator →

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