#2C821F#2C821F

#2C821F is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.156 H 141.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2C821F
RGBrgb(44, 130, 31)
HSLhsl(112, 61%, 32%)
HSVhsv(112, 76%, 51%)
CMYKcmyk(66.2%, 0%, 76.2%, 49%)
CIE-LABlab(47.75, -44.65, 43.36)
CIE-LCHlch(47.75, 62.24, 135.84°)
OKLaboklab(53.49% -0.122 0.0979)
OKLCHoklch(53.49% 0.156 141.3)
XYZxyz(9.2682, 16.5987, 4.0115)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C821F #751F82
analogous
#5E821F #2C821F #1F8244
triadic
#2C821F #1F2C82 #821F2C
tetradic
#2C821F #1F5E82 #751F82 #82441F
square
#2C821F #1F5E82 #751F82 #82441F
split-complementary
#2C821F #441F82 #821F5E
monochromatic
#0B1F07 #1B5113 #2C821F #3DB32B #5AD348

Accessibility & contrast

On white

4.86
#2C821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2C821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C821F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C821F#FFFFFF#000000##FFFFFF
##2C821F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#1D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c821f;
/* rgb */ color: rgb(44, 130, 31);
/* oklch */ color: oklch(53.5% 0.156 141.3);
Tailwind
colors: {
  custom: {
    50: '#71a762',
    500: '#2c821f',
    950: '#000000',
  },
}
SCSS
$custom: #2c821f;
$custom-light: #71a762;
$custom-dark: #000000;
JSON
{
  "hex": "#2c821f",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 112.121,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.1564,
    "h": 141.3
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#2C821F
secondary
#A748B5
accent
#43E5CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2C821F

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

Preview Lab → · Contrast checker → · Palette generator →

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