#2C821A#2C821A

#2C821A is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.159 H 140.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C821A
RGBrgb(44, 130, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 51%)
CMYKcmyk(66.2%, 0%, 80%, 49%)
CIE-LABlab(47.72, -45.02, 45.13)
CIE-LCHlch(47.72, 63.75, 134.93°)
OKLaboklab(53.45% -0.1232 0.1009)
OKLCHoklch(53.45% 0.159 140.7)
XYZxyz(9.2073, 16.5744, 3.6910)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C821A #701A82
analogous
#60821A #2C821A #1A823C
triadic
#2C821A #1A2C82 #821A2C
tetradic
#2C821A #1A6082 #701A82 #823C1A
square
#2C821A #1A6082 #701A82 #823C1A
split-complementary
#2C821A #3C1A82 #821A60
monochromatic
#091C06 #1B4F10 #2C821A #3DB524 #59D83E

Accessibility & contrast

On white

4.87
#2C821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2C821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C821A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C821A#FFFFFF#000000##FFFFFF
##2C821A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#1E7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c821a;
/* rgb */ color: rgb(44, 130, 26);
/* oklch */ color: oklch(53.4% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a75f',
    500: '#2c821a',
    950: '#000000',
  },
}
SCSS
$custom: #2c821a;
$custom-light: #72a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c821a",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 109.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.15925,
    "h": 140.7
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#2C821A
secondary
#A242B6
accent
#3EEACC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C821A

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

Preview Lab → · Contrast checker → · Palette generator →

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