#2A8424#2A8424

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

Color values

HEX#2A8424
RGBrgb(42, 132, 36)
HSLhsl(116, 57%, 33%)
HSVhsv(116, 73%, 52%)
CMYKcmyk(68.2%, 0%, 72.7%, 48.2%)
CIE-LABlab(48.41, -45.40, 42.05)
CIE-LCHlch(48.41, 61.89, 137.19°)
OKLaboklab(54.03% -0.1236 0.0959)
OKLCHoklch(54.03% 0.156 142.2)
XYZxyz(9.5240, 17.1212, 4.4715)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8424 #7E2484
analogous
#5A8424 #2A8424 #24844E
triadic
#2A8424 #242A84 #84242A
tetradic
#2A8424 #245A84 #7E2484 #844E24
square
#2A8424 #245A84 #7E2484 #844E24
split-complementary
#2A8424 #4E2484 #84245A
monochromatic
#0B240A #1B5417 #2A8424 #39B431 #5AD052

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8424#FFFFFF#000000##FFFFFF
##2A84241.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)
#877715
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#168071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a8424;
/* rgb */ color: rgb(42, 132, 36);
/* oklch */ color: oklch(54.0% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a965',
    500: '#2a8424',
    950: '#000000',
  },
}
SCSS
$custom: #2a8424;
$custom-light: #71a965;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8424",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 116.25,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.15643,
    "h": 142.2
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#2A8424
secondary
#AE50B4
accent
#47E0D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8424

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

Preview Lab → · Contrast checker → · Palette generator →

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