#2A8120#2A8120

#2A8120 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.155 H 141.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8120
RGBrgb(42, 129, 32)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 51%)
CMYKcmyk(67.4%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.36, -44.66, 42.57)
CIE-LCHlch(47.36, 61.70, 136.37°)
OKLaboklab(53.15% -0.1218 0.0964)
OKLCHoklch(53.15% 0.155 141.7)
XYZxyz(9.0653, 16.2961, 4.0339)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8120 #772081
analogous
#5B8120 #2A8120 #208147
triadic
#2A8120 #202A81 #81202A
tetradic
#2A8120 #205B81 #772081 #814720
square
#2A8120 #205B81 #772081 #814720
split-complementary
#2A8120 #472081 #81205B
monochromatic
#0A1F08 #1A5014 #2A8120 #3AB22C #58D249

Accessibility & contrast

On white

4.93
#2A8120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A8120
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8120#FFFFFF#000000##FFFFFF
##2A81201.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#197D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a8120;
/* rgb */ color: rgb(42, 129, 32);
/* oklch */ color: oklch(53.1% 0.155 141.7);
Tailwind
colors: {
  custom: {
    50: '#70a662',
    500: '#2a8120',
    950: '#000000',
  },
}
SCSS
$custom: #2a8120;
$custom-light: #70a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8120",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 113.814,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.15534,
    "h": 141.7
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#2A8120
secondary
#A949B4
accent
#44E3D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2A8120

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

Preview Lab → · Contrast checker → · Palette generator →

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