#2A8322#2A8322

#2A8322 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.157 H 141.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A8322
RGBrgb(42, 131, 34)
HSLhsl(115, 59%, 32%)
HSVhsv(115, 74%, 51%)
CMYKcmyk(67.9%, 0%, 74%, 48.6%)
CIE-LABlab(48.06, -45.22, 42.49)
CIE-LCHlch(48.06, 62.05, 136.78°)
OKLaboklab(53.73% -0.1232 0.0965)
OKLCHoklch(53.73% 0.157 141.9)
XYZxyz(9.3594, 16.8394, 4.2702)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8322 #7B2283
analogous
#5A8322 #2A8322 #22834B
triadic
#2A8322 #222A83 #83222A
tetradic
#2A8322 #225A83 #7B2283 #834B22
square
#2A8322 #225A83 #7B2283 #834B22
split-complementary
#2A8322 #4B2283 #83225A
monochromatic
#0B2209 #1A5215 #2A8322 #3AB42F #59D14E

Accessibility & contrast

On white

4.81
#2A8322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A8322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8322
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8322#FFFFFF#000000##FFFFFF
##2A83221.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867611
Deuteranopia (green-blind)
#7C6F2C
Tritanopia (blue-blind)
#177F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8322;
/* rgb */ color: rgb(42, 131, 34);
/* oklch */ color: oklch(53.7% 0.157 141.9);
Tailwind
colors: {
  custom: {
    50: '#71a863',
    500: '#2a8322',
    950: '#000000',
  },
}
SCSS
$custom: #2a8322;
$custom-light: #71a863;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8322",
  "rgb": {
    "r": 42,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 115.052,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.15651,
    "h": 141.9
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#2A8322
secondary
#AC4CB4
accent
#46E2D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #2A8322

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

Preview Lab → · Contrast checker → · Palette generator →

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