#2A821E#2A821E

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

Color values

HEX#2A821E
RGBrgb(42, 130, 30)
HSLhsl(113, 63%, 31%)
HSVhsv(113, 77%, 51%)
CMYKcmyk(67.7%, 0%, 76.9%, 49%)
CIE-LABlab(47.69, -45.19, 43.66)
CIE-LCHlch(47.69, 62.83, 135.98°)
OKLaboklab(53.42% -0.1234 0.0984)
OKLCHoklch(53.42% 0.158 141.4)
XYZxyz(9.1713, 16.5503, 3.9392)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A821E #761E82
analogous
#5C821E #2A821E #1E8244
triadic
#2A821E #1E2A82 #821E2A
tetradic
#2A821E #1E5C82 #761E82 #82441E
square
#2A821E #1E5C82 #761E82 #82441E
split-complementary
#2A821E #441E82 #821E5C
monochromatic
#0A1F07 #1A5013 #2A821E #3AB429 #57D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A821E#FFFFFF#000000##FFFFFF
##2A821E1.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)
#857509
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#197E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a821e;
/* rgb */ color: rgb(42, 130, 30);
/* oklch */ color: oklch(53.4% 0.158 141.4);
Tailwind
colors: {
  custom: {
    50: '#71a761',
    500: '#2a821e',
    950: '#000000',
  },
}
SCSS
$custom: #2a821e;
$custom-light: #71a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2a821e",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 112.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.15779,
    "h": 141.4
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#2A821E
secondary
#A847B5
accent
#42E6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A821E

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

Preview Lab → · Contrast checker → · Palette generator →

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