#A2C22B#A2C22B

#A2C22B 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#A2C22B
RGBrgb(162, 194, 43)
HSLhsl(73, 64%, 46%)
HSVhsv(73, 78%, 76%)
CMYKcmyk(16.5%, 0%, 77.8%, 23.9%)
CIE-LABlab(73.83, -30.09, 66.41)
CIE-LCHlch(73.83, 72.91, 114.37°)
OKLaboklab(76.42% -0.089 0.1457)
OKLCHoklch(76.42% 0.171 121.4)
XYZxyz(34.6287, 46.4394, 9.4244)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C22B #4B2BC2
analogous
#C2972B #A2C22B #57C22B
triadic
#A2C22B #2BA2C2 #C22BA2
tetradic
#A2C22B #2BC297 #4B2BC2 #C22B57
square
#A2C22B #2BC297 #4B2BC2 #C22B57
split-complementary
#A2C22B #2B57C2 #972BC2
monochromatic
#4E5E15 #789020 #A2C22B #BCD952 #CFE484

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C22B#FFFFFF#000000##000000
##A2C22B1.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)
#CAB63A
Tritanopia (blue-blind)
#ABB8A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c22b;
/* rgb */ color: rgb(162, 194, 43);
/* oklch */ color: oklch(76.4% 0.171 121.4);
Tailwind
colors: {
  custom: {
    50: '#c1d471',
    500: '#a2c22b',
    950: '#000000',
  },
}
SCSS
$custom: #a2c22b;
$custom-light: #c1d471;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c22b",
  "rgb": {
    "r": 162,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 72.715,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76416,
    "c": 0.17076,
    "h": 121.4
  },
  "luminance": 0.46439
}

Semantic roles & 50–950 ramp

primary
#A2C22B
secondary
#8D7CCD
accent
#41E764
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A2C22B

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

Preview Lab → · Contrast checker → · Palette generator →

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