#2A8422#2A8422

#2A8422 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.158 H 141.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8422
RGBrgb(42, 132, 34)
HSLhsl(115, 59%, 33%)
HSVhsv(115, 74%, 52%)
CMYKcmyk(68.2%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.40, -45.58, 42.84)
CIE-LCHlch(48.40, 62.55, 136.77°)
OKLaboklab(54.01% -0.1242 0.0972)
OKLCHoklch(54.01% 0.158 141.9)
XYZxyz(9.4943, 17.1093, 4.3151)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8422 #7C2284
analogous
#5B8422 #2A8422 #22844B
triadic
#2A8422 #222A84 #84222A
tetradic
#2A8422 #225B84 #7C2284 #844B22
square
#2A8422 #225B84 #7C2284 #844B22
split-complementary
#2A8422 #4B2284 #84225B
monochromatic
#0B2309 #1B5315 #2A8422 #39B52F #59D24F

Accessibility & contrast

On white

4.75
#2A8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8422
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8422#FFFFFF#000000##FFFFFF
##2A84221.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#178071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a8422;
/* rgb */ color: rgb(42, 132, 34);
/* oklch */ color: oklch(54.0% 0.158 141.9);
Tailwind
colors: {
  custom: {
    50: '#71a964',
    500: '#2a8422',
    950: '#000000',
  },
}
SCSS
$custom: #2a8422;
$custom-light: #71a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8422",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 115.102,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.15774,
    "h": 141.9
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#2A8422
secondary
#AD4DB5
accent
#46E2D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8422

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

Preview Lab → · Contrast checker → · Palette generator →

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