#2C841E#2C841E

#2C841E is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.159 H 141.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C841E
RGBrgb(44, 132, 30)
HSLhsl(112, 63%, 32%)
HSVhsv(112, 77%, 52%)
CMYKcmyk(66.7%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.42, -45.46, 44.41)
CIE-LCHlch(48.42, 63.55, 135.67°)
OKLaboklab(54.04% -0.1242 0.0999)
OKLCHoklch(54.04% 0.159 141.2)
XYZxyz(9.5238, 17.1308, 4.0327)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C841E #761E84
analogous
#5F841E #2C841E #1E8443
triadic
#2C841E #1E2C84 #841E2C
tetradic
#2C841E #1E5F84 #761E84 #84431E
square
#2C841E #1E5F84 #761E84 #84431E
split-complementary
#2C841E #431E84 #841E5F
monochromatic
#0B2007 #1B5213 #2C841E #3DB629 #5BD547

Accessibility & contrast

On white

4.74
#2C841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C841E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C841E#FFFFFF#000000##FFFFFF
##2C841E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#1C8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c841e;
/* rgb */ color: rgb(44, 132, 30);
/* oklch */ color: oklch(54.0% 0.159 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a962',
    500: '#2c841e',
    950: '#000000',
  },
}
SCSS
$custom: #2c841e;
$custom-light: #72a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2c841e",
  "rgb": {
    "r": 44,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 111.765,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.15942,
    "h": 141.2
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#2C841E
secondary
#A747B7
accent
#42E6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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