#2A821A#2A821A

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

Color values

HEX#2A821A
RGBrgb(42, 130, 26)
HSLhsl(111, 67%, 31%)
HSVhsv(111, 80%, 51%)
CMYKcmyk(67.7%, 0%, 80%, 49%)
CIE-LABlab(47.66, -45.48, 45.06)
CIE-LCHlch(47.66, 64.02, 135.26°)
OKLaboklab(53.39% -0.1244 0.1007)
OKLCHoklch(53.39% 0.16 141)
XYZxyz(9.1235, 16.5312, 3.6871)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A821A #721A82
analogous
#5E821A #2A821A #1A823E
triadic
#2A821A #1A2A82 #821A2A
tetradic
#2A821A #1A5E82 #721A82 #823E1A
square
#2A821A #1A5E82 #721A82 #823E1A
split-complementary
#2A821A #3E1A82 #821A5E
monochromatic
#091C06 #1A4F10 #2A821A #3AB524 #56D83E

Accessibility & contrast

On white

4.88
#2A821A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A821A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A821A#FFFFFF#000000##FFFFFF
##2A821A1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a821a;
/* rgb */ color: rgb(42, 130, 26);
/* oklch */ color: oklch(53.4% 0.160 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a75f',
    500: '#2a821a',
    950: '#000000',
  },
}
SCSS
$custom: #2a821a;
$custom-light: #71a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a821a",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 110.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.16003,
    "h": 141
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#2A821A
secondary
#A442B6
accent
#3EEACF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2A821A

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

Preview Lab → · Contrast checker → · Palette generator →

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