#A2C22A#A2C22A

#A2C22A is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.4% C 0.171 H 121.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#A2C22A
RGBrgb(162, 194, 42)
HSLhsl(73, 64%, 46%)
HSVhsv(73, 78%, 76%)
CMYKcmyk(16.5%, 0%, 78.4%, 23.9%)
CIE-LABlab(73.83, -30.13, 66.70)
CIE-LCHlch(73.83, 73.19, 114.31°)
OKLaboklab(76.41% -0.0892 0.1462)
OKLCHoklch(76.41% 0.171 121.4)
XYZxyz(34.6106, 46.4321, 9.3290)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C22A #4A2AC2
analogous
#C2962A #A2C22A #56C22A
triadic
#A2C22A #2AA2C2 #C22AA2
tetradic
#A2C22A #2AC296 #4A2AC2 #C22A56
square
#A2C22A #2AC296 #4A2AC2 #C22A56
split-complementary
#A2C22A #2A56C2 #962AC2
monochromatic
#4E5D14 #78901F #A2C22A #BCD950 #CFE482

Accessibility & contrast

On white

2.04
#A2C22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#A2C22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C22A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C22A#FFFFFF#000000##000000
##A2C22A1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#ABB8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c22a;
/* rgb */ color: rgb(162, 194, 42);
/* oklch */ color: oklch(76.4% 0.171 121.4);
Tailwind
colors: {
  custom: {
    50: '#c1d471',
    500: '#a2c22a',
    950: '#000000',
  },
}
SCSS
$custom: #a2c22a;
$custom-light: #c1d471;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c22a",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 42
  },
  "hsl": {
    "h": 72.632,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7641,
    "c": 0.17125,
    "h": 121.4
  },
  "luminance": 0.46432
}

Semantic roles & 50–950 ramp

primary
#A2C22A
secondary
#8C7BCD
accent
#40E764
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A2C22A

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

Preview Lab → · Contrast checker → · Palette generator →

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