#2A8024#2A8024

#2A8024 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8024
RGBrgb(42, 128, 36)
HSLhsl(116, 56%, 32%)
HSVhsv(116, 72%, 50%)
CMYKcmyk(67.2%, 0%, 71.9%, 49.8%)
CIE-LABlab(47.05, -43.94, 40.63)
CIE-LCHlch(47.05, 59.84, 137.24°)
OKLaboklab(52.9% -0.1196 0.0929)
OKLCHoklch(52.9% 0.151 142.2)
XYZxyz(8.9920, 16.0571, 4.2942)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8024 #7A2480
analogous
#588024 #2A8024 #24804C
triadic
#2A8024 #242A80 #80242A
tetradic
#2A8024 #245880 #7A2480 #804C24
square
#2A8024 #245880 #7A2480 #804C24
split-complementary
#2A8024 #4C2480 #802458
monochromatic
#0B2009 #1A5017 #2A8024 #3AB031 #59CE50

Accessibility & contrast

On white

4.99
#2A8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A8024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8024
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8024#FFFFFF#000000##FFFFFF
##2A80241.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#187C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8024;
/* rgb */ color: rgb(42, 128, 36);
/* oklch */ color: oklch(52.9% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#70a664',
    500: '#2a8024',
    950: '#000000',
  },
}
SCSS
$custom: #2a8024;
$custom-light: #70a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8024",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 116.087,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.15145,
    "h": 142.2
  },
  "luminance": 0.16058
}

Semantic roles & 50–950 ramp

primary
#2A8024
secondary
#AB4EB2
accent
#48DFD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A8024

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

Preview Lab → · Contrast checker → · Palette generator →

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