#2C842C#2C842C

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

Color values

HEX#2C842C
RGBrgb(44, 132, 44)
HSLhsl(120, 50%, 35%)
HSVhsv(120, 67%, 52%)
CMYKcmyk(66.7%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.53, -44.16, 38.74)
CIE-LCHlch(48.53, 58.74, 138.74°)
OKLaboklab(54.17% -0.1199 0.0899)
OKLCHoklch(54.17% 0.15 143.2)
XYZxyz(9.7440, 17.2189, 5.1925)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C842C #842C84
analogous
#58842C #2C842C #2C8458
triadic
#2C842C #2C2C84 #842C2C
tetradic
#2C842C #2C5884 #842C84 #84582C
square
#2C842C #2C5884 #842C84 #84582C
split-complementary
#2C842C #582C84 #842C58
monochromatic
#0D280D #1D561D #2C842C #3BB23B #60CA60

Accessibility & contrast

On white

4.73
#2C842C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C842C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C842C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C842C#FFFFFF#000000##FFFFFF
##2C842C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c842c;
/* rgb */ color: rgb(44, 132, 44);
/* oklch */ color: oklch(54.2% 0.150 143.2);
Tailwind
colors: {
  custom: {
    50: '#71a969',
    500: '#2c842c',
    950: '#000000',
  },
}
SCSS
$custom: #2c842c;
$custom-light: #71a969;
$custom-dark: #000000;
JSON
{
  "hex": "#2c842c",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.14985,
    "h": 143.2
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#2C842C
secondary
#B05CB0
accent
#4EDADA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C842C

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

Preview Lab → · Contrast checker → · Palette generator →

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