#2B822A#2B822A

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

Color values

HEX#2B822A
RGBrgb(43, 130, 42)
HSLhsl(119, 51%, 34%)
HSVhsv(119, 68%, 51%)
CMYKcmyk(66.9%, 0%, 67.7%, 49%)
CIE-LABlab(47.81, -43.85, 38.84)
CIE-LCHlch(47.81, 58.58, 138.47°)
OKLaboklab(53.55% -0.1191 0.0898)
OKLCHoklch(53.55% 0.149 143)
XYZxyz(9.3963, 16.6451, 4.9077)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B822A #812A82
analogous
#57822A #2B822A #2A8255
triadic
#2B822A #2A2B82 #822A2B
tetradic
#2B822A #2A5782 #812A82 #82552A
square
#2B822A #2A5782 #812A82 #82552A
split-complementary
#2B822A #552A82 #822A57
monochromatic
#0C250C #1C541B #2B822A #3AB039 #5DCA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B822A#FFFFFF#000000##FFFFFF
##2B822A1.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)
#187E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b822a;
/* rgb */ color: rgb(43, 130, 42);
/* oklch */ color: oklch(53.6% 0.149 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a768',
    500: '#2b822a',
    950: '#000000',
  },
}
SCSS
$custom: #2b822a;
$custom-light: #70a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2b822a",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 119.318,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.14921,
    "h": 143
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#2B822A
secondary
#AF58B0
accent
#4DDBD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B822A

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

Preview Lab → · Contrast checker → · Palette generator →

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