#2C821E#2C821E

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

Color values

HEX#2C821E
RGBrgb(44, 130, 30)
HSLhsl(112, 63%, 31%)
HSVhsv(112, 77%, 51%)
CMYKcmyk(66.2%, 0%, 76.9%, 49%)
CIE-LABlab(47.74, -44.73, 43.73)
CIE-LCHlch(47.74, 62.55, 135.64°)
OKLaboklab(53.48% -0.1222 0.0985)
OKLCHoklch(53.48% 0.157 141.1)
XYZxyz(9.2552, 16.5936, 3.9432)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C821E #741E82
analogous
#5E821E #2C821E #1E8242
triadic
#2C821E #1E2C82 #821E2C
tetradic
#2C821E #1E5E82 #741E82 #82421E
square
#2C821E #1E5E82 #741E82 #82421E
split-complementary
#2C821E #421E82 #821E5E
monochromatic
#0A1F07 #1B5013 #2C821E #3DB429 #5AD446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C821E#FFFFFF#000000##FFFFFF
##2C821E1.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)
#857609
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#1D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c821e;
/* rgb */ color: rgb(44, 130, 30);
/* oklch */ color: oklch(53.5% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#71a761',
    500: '#2c821e',
    950: '#000000',
  },
}
SCSS
$custom: #2c821e;
$custom-light: #71a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2c821e",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 111.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.157,
    "h": 141.1
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#2C821E
secondary
#A647B5
accent
#42E6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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