#2C873E#2C873E

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

Color values

HEX#2C873E
RGBrgb(44, 135, 62)
HSLhsl(132, 51%, 35%)
HSVhsv(132, 67%, 53%)
CMYKcmyk(67.4%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.75, -42.95, 31.33)
CIE-LCHlch(49.75, 53.16, 143.89°)
OKLaboklab(55.24% -0.1159 0.0754)
OKLCHoklch(55.24% 0.138 147)
XYZxyz(10.5714, 18.2101, 7.5143)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C873E #872C75
analogous
#48872C #2C873E #2C876B
triadic
#2C873E #3E2C87 #873E2C
tetradic
#2C873E #2C4887 #872C75 #876B2C
square
#2C873E #2C4887 #872C75 #876B2C
split-complementary
#2C873E #6B2C87 #872C48
monochromatic
#0E2B14 #1D5929 #2C873E #3BB553 #62CC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C873E#FFFFFF#000000##000000
##2C873E1.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)
#897B38
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#0E8476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c873e;
/* rgb */ color: rgb(44, 135, 62);
/* oklch */ color: oklch(55.2% 0.138 147.0);
Tailwind
colors: {
  custom: {
    50: '#71ab75',
    500: '#2c873e',
    950: '#000000',
  },
}
SCSS
$custom: #2c873e;
$custom-light: #71ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c873e",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 131.868,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.13827,
    "h": 147
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#2C873E
secondary
#B25DA1
accent
#4DBEDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C873E

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

Preview Lab → · Contrast checker → · Palette generator →

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