#2C822A#2C822A

#2C822A is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.149 H 142.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2C822A
RGBrgb(44, 130, 42)
HSLhsl(119, 51%, 34%)
HSVhsv(119, 68%, 51%)
CMYKcmyk(66.2%, 0%, 67.7%, 49%)
CIE-LABlab(47.84, -43.62, 38.88)
CIE-LCHlch(47.84, 58.43, 138.29°)
OKLaboklab(53.59% -0.1186 0.0899)
OKLCHoklch(53.59% 0.149 142.8)
XYZxyz(9.4387, 16.6670, 4.9097)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C822A #802A82
analogous
#58822A #2C822A #2A8254
triadic
#2C822A #2A2C82 #822A2C
tetradic
#2C822A #2A5882 #802A82 #82542A
square
#2C822A #2A5882 #802A82 #82542A
split-complementary
#2C822A #542A82 #822A58
monochromatic
#0D250C #1C541B #2C822A #3CB039 #5FCA5C

Accessibility & contrast

On white

4.85
#2C822A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2C822A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C822A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C822A#FFFFFF#000000##FFFFFF
##2C822A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#1A7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c822a;
/* rgb */ color: rgb(44, 130, 42);
/* oklch */ color: oklch(53.6% 0.149 142.8);
Tailwind
colors: {
  custom: {
    50: '#71a768',
    500: '#2c822a',
    950: '#000000',
  },
}
SCSS
$custom: #2c822a;
$custom-light: #71a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2c822a",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 118.636,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.14881,
    "h": 142.8
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#2C822A
secondary
#AE58B0
accent
#4DDBD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C822A

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

Preview Lab → · Contrast checker → · Palette generator →

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