#2C822B#2C822B

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

Color values

HEX#2C822B
RGBrgb(44, 130, 43)
HSLhsl(119, 50%, 34%)
HSVhsv(119, 67%, 51%)
CMYKcmyk(66.2%, 0%, 66.9%, 49%)
CIE-LABlab(47.85, -43.51, 38.44)
CIE-LCHlch(47.85, 58.06, 138.54°)
OKLaboklab(53.6% -0.1182 0.0891)
OKLCHoklch(53.6% 0.148 143)
XYZxyz(9.4568, 16.6742, 5.0051)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C822B #812B82
analogous
#58822B #2C822B #2B8256
triadic
#2C822B #2B2C82 #822B2C
tetradic
#2C822B #2B5882 #812B82 #82562B
square
#2C822B #2B5882 #812B82 #82562B
split-complementary
#2C822B #562B82 #822B58
monochromatic
#0D260D #1C541C #2C822B #3CB03A #5FCA5E

Accessibility & contrast

On white

4.84
#2C822B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C822B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C822B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C822B#FFFFFF#000000##FFFFFF
##2C822B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#1A7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c822b;
/* rgb */ color: rgb(44, 130, 43);
/* oklch */ color: oklch(53.6% 0.148 143.0);
Tailwind
colors: {
  custom: {
    50: '#71a768',
    500: '#2c822b',
    950: '#000000',
  },
}
SCSS
$custom: #2c822b;
$custom-light: #71a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2c822b",
  "rgb": {
    "r": 44,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 119.31,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.14804,
    "h": 143
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#2C822B
secondary
#AF59B0
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C822B

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

Preview Lab → · Contrast checker → · Palette generator →

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