#2C821D#2C821D

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

Color values

HEX#2C821D
RGBrgb(44, 130, 29)
HSLhsl(111, 64%, 31%)
HSVhsv(111, 78%, 51%)
CMYKcmyk(66.2%, 0%, 77.7%, 49%)
CIE-LABlab(47.74, -44.80, 44.09)
CIE-LCHlch(47.74, 62.86, 135.46°)
OKLaboklab(53.47% -0.1225 0.0991)
OKLCHoklch(53.47% 0.158 141)
XYZxyz(9.2426, 16.5885, 3.8770)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C821D #731D82
analogous
#5E821D #2C821D #1D8240
triadic
#2C821D #1D2C82 #821D2C
tetradic
#2C821D #1D5E82 #731D82 #82401D
square
#2C821D #1D5E82 #731D82 #82401D
split-complementary
#2C821D #401D82 #821D5E
monochromatic
#0A1E07 #1B5012 #2C821D #3DB428 #5AD544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C821D#FFFFFF#000000##FFFFFF
##2C821D1.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)
#857607
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#1D7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c821d;
/* rgb */ color: rgb(44, 130, 29);
/* oklch */ color: oklch(53.5% 0.158 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a761',
    500: '#2c821d',
    950: '#000000',
  },
}
SCSS
$custom: #2c821d;
$custom-light: #71a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2c821d",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 111.089,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.15759,
    "h": 141
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#2C821D
secondary
#A546B5
accent
#41E7CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2C821D

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

Preview Lab → · Contrast checker → · Palette generator →

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