#A2C12A#A2C12A

#A2C12A is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.2% C 0.170 H 121.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#A2C12A
RGBrgb(162, 193, 42)
HSLhsl(72, 64%, 46%)
HSVhsv(72, 78%, 76%)
CMYKcmyk(16.1%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.54, -29.66, 66.44)
CIE-LCHlch(73.54, 72.76, 114.05°)
OKLaboklab(76.18% -0.0879 0.1456)
OKLCHoklch(76.18% 0.17 121.1)
XYZxyz(34.3888, 45.9885, 9.2550)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C12A #492AC1
analogous
#C1942A #A2C12A #56C12A
triadic
#A2C12A #2AA2C1 #C12AA2
tetradic
#A2C12A #2AC194 #492AC1 #C12A56
square
#A2C12A #2AC194 #492AC1 #C12A56
split-complementary
#A2C12A #2A56C1 #942AC1
monochromatic
#4E5C14 #788F1F #A2C12A #BDD94F #D0E482

Accessibility & contrast

On white

2.06
#A2C12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#A2C12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C12A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C12A#FFFFFF#000000##000000
##A2C12A1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#ABB7A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c12a;
/* rgb */ color: rgb(162, 193, 42);
/* oklch */ color: oklch(76.2% 0.170 121.1);
Tailwind
colors: {
  custom: {
    50: '#c1d371',
    500: '#a2c12a',
    950: '#000000',
  },
}
SCSS
$custom: #a2c12a;
$custom-light: #c1d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c12a",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 72.318,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76179,
    "c": 0.17011,
    "h": 121.1
  },
  "luminance": 0.45988
}

Semantic roles & 50–950 ramp

primary
#A2C12A
secondary
#8B7ACD
accent
#41E763
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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