#2C842D#2C842D

#2C842D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.149 H 143.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2C842D
RGBrgb(44, 132, 45)
HSLhsl(121, 50%, 35%)
HSVhsv(121, 67%, 52%)
CMYKcmyk(66.7%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.54, -44.04, 38.29)
CIE-LCHlch(48.54, 58.36, 139.00°)
OKLaboklab(54.18% -0.1196 0.089)
OKLCHoklch(54.18% 0.149 143.3)
XYZxyz(9.7631, 17.2265, 5.2926)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C842D #842C83
analogous
#57842C #2C842D #2C8459
triadic
#2C842D #2D2C84 #842D2C
tetradic
#2C842D #2C5784 #842C83 #84592C
square
#2C842D #2C5784 #842C83 #84592C
split-complementary
#2C842D #592C84 #842C57
monochromatic
#0D280E #1D561D #2C842D #3BB23D #60CA62

Accessibility & contrast

On white

4.72
#2C842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2C842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C842D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C842D#FFFFFF#000000##FFFFFF
##2C842D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#188072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c842d;
/* rgb */ color: rgb(44, 132, 45);
/* oklch */ color: oklch(54.2% 0.149 143.3);
Tailwind
colors: {
  custom: {
    50: '#71a96a',
    500: '#2c842d',
    950: '#000000',
  },
}
SCSS
$custom: #2c842d;
$custom-light: #71a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c842d",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 120.682,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.14905,
    "h": 143.3
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

primary
#2C842D
secondary
#B05CAF
accent
#4ED8DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C842D

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

Preview Lab → · Contrast checker → · Palette generator →

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