#A2C02C#A2C02C

#A2C02C 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#A2C02C
RGBrgb(162, 192, 44)
HSLhsl(72, 63%, 46%)
HSVhsv(72, 77%, 75%)
CMYKcmyk(15.6%, 0%, 77.1%, 24.7%)
CIE-LABlab(73.26, -29.10, 65.58)
CIE-LCHlch(73.26, 71.75, 113.92°)
OKLaboklab(75.96% -0.0862 0.1441)
OKLCHoklch(75.96% 0.168 120.9)
XYZxyz(34.2052, 45.5626, 9.3749)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C02C #4A2CC0
analogous
#C0942C #A2C02C #58C02C
triadic
#A2C02C #2CA2C0 #C02CA2
tetradic
#A2C02C #2CC094 #4A2CC0 #C02C58
square
#A2C02C #2CC094 #4A2CC0 #C02C58
split-complementary
#A2C02C #2C58C0 #942CC0
monochromatic
#4E5C15 #788E21 #A2C02C #BCD752 #CFE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C02C#FFFFFF#000000##000000
##A2C02C1.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)
#C8B43A
Tritanopia (blue-blind)
#ABB6A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a2c02c;
/* rgb */ color: rgb(162, 192, 44);
/* oklch */ color: oklch(76.0% 0.168 120.9);
Tailwind
colors: {
  custom: {
    50: '#c1d371',
    500: '#a2c02c',
    950: '#000000',
  },
}
SCSS
$custom: #a2c02c;
$custom-light: #c1d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c02c",
  "rgb": {
    "r": 162,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 72.162,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75958,
    "c": 0.16797,
    "h": 120.9
  },
  "luminance": 0.45563
}

Semantic roles & 50–950 ramp

primary
#A2C02C
secondary
#8C7CCC
accent
#42E663
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A2C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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