#A2CC40#A2CC40

#A2CC40 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.9% C 0.170 H 124.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#A2CC40
RGBrgb(162, 204, 64)
HSLhsl(78, 58%, 53%)
HSVhsv(78, 69%, 80%)
CMYKcmyk(20.6%, 0%, 68.6%, 20%)
CIE-LABlab(76.82, -33.64, 62.15)
CIE-LCHlch(76.82, 70.67, 118.43°)
OKLaboklab(78.87% -0.0971 0.1401)
OKLCHoklch(78.87% 0.17 124.7)
XYZxyz(37.4188, 51.2369, 12.7678)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CC40 #6A40CC
analogous
#CCB040 #A2CC40 #5CCC40
triadic
#A2CC40 #40A2CC #CC40A2
tetradic
#A2CC40 #40CCB0 #6A40CC #CC405C
square
#A2CC40 #40CCB0 #6A40CC #CC405C
split-complementary
#A2CC40 #405CCC #B040CC
monochromatic
#5A731F #7FA32C #A2CC40 #BAD970 #D1E6A1

Accessibility & contrast

On white

1.87
#A2CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#A2CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CC40
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CC40#FFFFFF#000000##000000
##A2CC401.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#A9C2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a2cc40;
/* rgb */ color: rgb(162, 204, 64);
/* oklch */ color: oklch(78.9% 0.170 124.7);
Tailwind
colors: {
  custom: {
    50: '#c1db7d',
    500: '#a2cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a2cc40;
$custom-light: #c1db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cc40",
  "rgb": {
    "r": 162,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 78,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78873,
    "c": 0.17043,
    "h": 124.7
  },
  "luminance": 0.51237
}

Semantic roles & 50–950 ramp

primary
#A2CC40
secondary
#4A347C
accent
#47E175
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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