#2B821A#2B821A

#2B821A is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.160 H 140.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2B821A
RGBrgb(43, 130, 26)
HSLhsl(110, 67%, 31%)
HSVhsv(110, 80%, 51%)
CMYKcmyk(66.9%, 0%, 80%, 49%)
CIE-LABlab(47.69, -45.25, 45.10)
CIE-LCHlch(47.69, 63.88, 135.10°)
OKLaboklab(53.42% -0.1238 0.1008)
OKLCHoklch(53.42% 0.16 140.9)
XYZxyz(9.1649, 16.5525, 3.6891)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B821A #711A82
analogous
#5F821A #2B821A #1A823D
triadic
#2B821A #1A2B82 #821A2B
tetradic
#2B821A #1A5F82 #711A82 #823D1A
square
#2B821A #1A5F82 #711A82 #823D1A
split-complementary
#2B821A #3D1A82 #821A5F
monochromatic
#091C06 #1A4F10 #2B821A #3CB524 #57D83E

Accessibility & contrast

On white

4.87
#2B821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2B821A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B821A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B821A#FFFFFF#000000##FFFFFF
##2B821A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#1C7E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b821a;
/* rgb */ color: rgb(43, 130, 26);
/* oklch */ color: oklch(53.4% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a75f',
    500: '#2b821a',
    950: '#000000',
  },
}
SCSS
$custom: #2b821a;
$custom-light: #71a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b821a",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 110.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.15965,
    "h": 140.9
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#2B821A
secondary
#A342B6
accent
#3EEACE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2B821A

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

Preview Lab → · Contrast checker → · Palette generator →

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