#2A8124#2A8124

#2A8124 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.153 H 142.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A8124
RGBrgb(42, 129, 36)
HSLhsl(116, 56%, 32%)
HSVhsv(116, 72%, 51%)
CMYKcmyk(67.4%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.39, -44.30, 40.99)
CIE-LCHlch(47.39, 60.36, 137.23°)
OKLaboklab(53.18% -0.1206 0.0936)
OKLCHoklch(53.18% 0.153 142.2)
XYZxyz(9.1230, 16.3192, 4.3379)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8124 #7B2481
analogous
#598124 #2A8124 #24814D
triadic
#2A8124 #242A81 #81242A
tetradic
#2A8124 #245981 #7B2481 #814D24
square
#2A8124 #245981 #7B2481 #814D24
split-complementary
#2A8124 #4D2481 #812459
monochromatic
#0B2109 #1A5117 #2A8124 #3AB131 #59CE51

Accessibility & contrast

On white

4.92
#2A8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8124
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8124#FFFFFF#000000##FFFFFF
##2A81241.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#187D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8124;
/* rgb */ color: rgb(42, 129, 36);
/* oklch */ color: oklch(53.2% 0.153 142.2);
Tailwind
colors: {
  custom: {
    50: '#70a664',
    500: '#2a8124',
    950: '#000000',
  },
}
SCSS
$custom: #2a8124;
$custom-light: #70a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8124",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 116.129,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.1527,
    "h": 142.2
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#2A8124
secondary
#AC4EB2
accent
#48E0D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2A8124

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

Preview Lab → · Contrast checker → · Palette generator →

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