#2C842E#2C842E

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

Color values

HEX#2C842E
RGBrgb(44, 132, 46)
HSLhsl(121, 50%, 35%)
HSVhsv(121, 67%, 52%)
CMYKcmyk(66.7%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.55, -43.93, 37.84)
CIE-LCHlch(48.55, 57.98, 139.26°)
OKLaboklab(54.19% -0.1192 0.0882)
OKLCHoklch(54.19% 0.148 143.5)
XYZxyz(9.7825, 17.2343, 5.3952)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C842E #842C82
analogous
#56842C #2C842E #2C845A
triadic
#2C842E #2E2C84 #842E2C
tetradic
#2C842E #2C5684 #842C82 #845A2C
square
#2C842E #2C5684 #842C82 #845A2C
split-complementary
#2C842E #5A2C84 #842C56
monochromatic
#0D280E #1D561E #2C842E #3BB23E #60CA63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C842E#FFFFFF#000000##FFFFFF
##2C842E1.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)
#877824
Deuteranopia (green-blind)
#7C7035
Tritanopia (blue-blind)
#188072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c842e;
/* rgb */ color: rgb(44, 132, 46);
/* oklch */ color: oklch(54.2% 0.148 143.5);
Tailwind
colors: {
  custom: {
    50: '#71a96a',
    500: '#2c842e',
    950: '#000000',
  },
}
SCSS
$custom: #2c842e;
$custom-light: #71a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c842e",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 121.364,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.14826,
    "h": 143.5
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#2C842E
secondary
#B05CAE
accent
#4ED6DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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