#2C873B#2C873B

#2C873B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.141 H 146.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C873B
RGBrgb(44, 135, 59)
HSLhsl(130, 51%, 35%)
HSVhsv(130, 67%, 53%)
CMYKcmyk(67.4%, 0%, 56.3%, 47.1%)
CIE-LABlab(49.71, -43.39, 32.82)
CIE-LCHlch(49.71, 54.41, 142.89°)
OKLaboklab(55.19% -0.1172 0.0785)
OKLCHoklch(55.19% 0.141 146.2)
XYZxyz(10.4914, 18.1781, 7.0927)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C873B #872C78
analogous
#4B872C #2C873B #2C8768
triadic
#2C873B #3B2C87 #873B2C
tetradic
#2C873B #2C4B87 #872C78 #87682C
square
#2C873B #2C4B87 #872C78 #87682C
split-complementary
#2C873B #682C87 #872C4B
monochromatic
#0E2B13 #1D5927 #2C873B #3BB54F #62CC73

Accessibility & contrast

On white

4.53
#2C873B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2C873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C873B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C873B#FFFFFF#000000##000000
##2C873B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B34
Deuteranopia (green-blind)
#7E7341
Tritanopia (blue-blind)
#108476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c873b;
/* rgb */ color: rgb(44, 135, 59);
/* oklch */ color: oklch(55.2% 0.141 146.2);
Tailwind
colors: {
  custom: {
    50: '#71ab73',
    500: '#2c873b',
    950: '#000000',
  },
}
SCSS
$custom: #2c873b;
$custom-light: #71ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#2c873b",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 129.89,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55193,
    "c": 0.14104,
    "h": 146.2
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#2C873B
secondary
#B25DA4
accent
#4DC3DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C873B

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

Preview Lab → · Contrast checker → · Palette generator →

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