#2C873A#2C873A

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

Color values

HEX#2C873A
RGBrgb(44, 135, 58)
HSLhsl(129, 51%, 35%)
HSVhsv(129, 67%, 53%)
CMYKcmyk(67.4%, 0%, 57%, 47.1%)
CIE-LABlab(49.70, -43.53, 33.32)
CIE-LCHlch(49.70, 54.82, 142.57°)
OKLaboklab(55.18% -0.1176 0.0795)
OKLCHoklch(55.18% 0.142 146)
XYZxyz(10.4657, 18.1678, 6.9574)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C873A #872C79
analogous
#4B872C #2C873A #2C8768
triadic
#2C873A #3A2C87 #873A2C
tetradic
#2C873A #2C4B87 #872C79 #87682C
square
#2C873A #2C4B87 #872C79 #87682C
split-complementary
#2C873A #682C87 #872C4B
monochromatic
#0E2B12 #1D5926 #2C873A #3BB54E #62CC72

Accessibility & contrast

On white

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

On black

4.63
#2C873A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C873A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C873A#FFFFFF#000000##000000
##2C873A1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B33
Deuteranopia (green-blind)
#7E7340
Tritanopia (blue-blind)
#118476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c873a;
/* rgb */ color: rgb(44, 135, 58);
/* oklch */ color: oklch(55.2% 0.142 146.0);
Tailwind
colors: {
  custom: {
    50: '#71ab72',
    500: '#2c873a',
    950: '#000000',
  },
}
SCSS
$custom: #2c873a;
$custom-light: #71ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#2c873a",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 58
  },
  "hsl": {
    "h": 129.231,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.14195,
    "h": 146
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#2C873A
secondary
#B25DA5
accent
#4DC5DA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C873A

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

Preview Lab → · Contrast checker → · Palette generator →

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