#A2C72A#A2C72A

#A2C72A is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.6% C 0.177 H 122.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#A2C72A
RGBrgb(162, 199, 42)
HSLhsl(74, 65%, 47%)
HSVhsv(74, 79%, 78%)
CMYKcmyk(18.6%, 0%, 78.9%, 22%)
CIE-LABlab(75.26, -32.47, 68.00)
CIE-LCHlch(75.26, 75.36, 115.52°)
OKLaboklab(77.57% -0.0956 0.1489)
OKLCHoklch(77.57% 0.177 122.7)
XYZxyz(35.7422, 48.6952, 9.7062)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C72A #4F2AC7
analogous
#C79D2A #A2C72A #54C72A
triadic
#A2C72A #2AA2C7 #C72AA2
tetradic
#A2C72A #2AC79D #4F2AC7 #C72A54
square
#A2C72A #2AC79D #4F2AC7 #C72A54
split-complementary
#A2C72A #2A54C7 #9D2AC7
monochromatic
#506215 #79941F #A2C72A #BBDB53 #CFE586

Accessibility & contrast

On white

1.96
#A2C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#A2C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C72A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C72A#FFFFFF#000000##000000
##A2C72A1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#CEB93A
Tritanopia (blue-blind)
#ABBDAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a2c72a;
/* rgb */ color: rgb(162, 199, 42);
/* oklch */ color: oklch(77.6% 0.177 122.7);
Tailwind
colors: {
  custom: {
    50: '#c2d872',
    500: '#a2c72a',
    950: '#000000',
  },
}
SCSS
$custom: #a2c72a;
$custom-light: #c2d872;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c72a",
  "rgb": {
    "r": 162,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 74.14,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77571,
    "c": 0.17698,
    "h": 122.7
  },
  "luminance": 0.48695
}

Semantic roles & 50–950 ramp

primary
#A2C72A
secondary
#917ECF
accent
#40E867
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C72A

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

Preview Lab → · Contrast checker → · Palette generator →

#A2C72A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva