#A2C02B#A2C02B

#A2C02B is a light, vivid yellow-green. Relative luminance 0.456; OKLCH L 76.0% C 0.168 H 120.9°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#A2C02B
RGBrgb(162, 192, 43)
HSLhsl(72, 63%, 46%)
HSVhsv(72, 78%, 75%)
CMYKcmyk(15.6%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.26, -29.14, 65.88)
CIE-LCHlch(73.26, 72.04, 113.86°)
OKLaboklab(75.95% -0.0864 0.1446)
OKLCHoklch(75.95% 0.168 120.9)
XYZxyz(34.1866, 45.5551, 9.2770)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C02B #492BC0
analogous
#C0932B #A2C02B #57C02B
triadic
#A2C02B #2BA2C0 #C02BA2
tetradic
#A2C02B #2BC093 #492BC0 #C02B57
square
#A2C02B #2BC093 #492BC0 #C02B57
split-complementary
#A2C02B #2B57C0 #932BC0
monochromatic
#4E5C15 #788E20 #A2C02B #BDD850 #D0E382

Accessibility & contrast

On white

2.08
#A2C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#A2C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C02B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C02B#FFFFFF#000000##000000
##A2C02B1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B43A
Tritanopia (blue-blind)
#ABB6A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c02b;
/* rgb */ color: rgb(162, 192, 43);
/* oklch */ color: oklch(76.0% 0.168 120.9);
Tailwind
colors: {
  custom: {
    50: '#c1d371',
    500: '#a2c02b',
    950: '#000000',
  },
}
SCSS
$custom: #a2c02b;
$custom-light: #c1d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c02b",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 72.081,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75952,
    "c": 0.16847,
    "h": 120.9
  },
  "luminance": 0.45555
}

Semantic roles & 50–950 ramp

primary
#A2C02B
secondary
#8B7BCC
accent
#41E663
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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