#2C873F#2C873F

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

Color values

HEX#2C873F
RGBrgb(44, 135, 63)
HSLhsl(133, 51%, 35%)
HSVhsv(133, 67%, 53%)
CMYKcmyk(67.4%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.76, -42.80, 30.82)
CIE-LCHlch(49.76, 52.74, 144.24°)
OKLaboklab(55.25% -0.1155 0.0743)
OKLCHoklch(55.25% 0.137 147.2)
XYZxyz(10.5991, 18.2212, 7.6601)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C873F #872C74
analogous
#47872C #2C873F #2C876C
triadic
#2C873F #3F2C87 #873F2C
tetradic
#2C873F #2C4787 #872C74 #876C2C
square
#2C873F #2C4787 #872C74 #876C2C
split-complementary
#2C873F #6C2C87 #872C47
monochromatic
#0E2B14 #1D5929 #2C873F #3BB555 #62CC78

Accessibility & contrast

On white

4.52
#2C873F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C873F#FFFFFF#000000##000000
##2C873F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B39
Deuteranopia (green-blind)
#7D7344
Tritanopia (blue-blind)
#0D8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c873f;
/* rgb */ color: rgb(44, 135, 63);
/* oklch */ color: oklch(55.3% 0.137 147.2);
Tailwind
colors: {
  custom: {
    50: '#71ab76',
    500: '#2c873f',
    950: '#000000',
  },
}
SCSS
$custom: #2c873f;
$custom-light: #71ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c873f",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 132.527,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.13732,
    "h": 147.2
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#2C873F
secondary
#B25DA0
accent
#4DBDDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C873F

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

Preview Lab → · Contrast checker → · Palette generator →

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