#A1CC40#A1CC40

#A1CC40 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.8% C 0.171 H 125.0°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#A1CC40
RGBrgb(161, 204, 64)
HSLhsl(78, 58%, 53%)
HSVhsv(78, 69%, 80%)
CMYKcmyk(21.1%, 0%, 68.6%, 20%)
CIE-LABlab(76.76, -34.03, 62.06)
CIE-LCHlch(76.76, 70.78, 118.74°)
OKLaboklab(78.81% -0.0981 0.1399)
OKLCHoklch(78.81% 0.171 125)
XYZxyz(37.2165, 51.1325, 12.7584)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CC40 #6B40CC
analogous
#CCB140 #A1CC40 #5BCC40
triadic
#A1CC40 #40A1CC #CC40A1
tetradic
#A1CC40 #40CCB1 #6B40CC #CC405B
square
#A1CC40 #40CCB1 #6B40CC #CC405B
split-complementary
#A1CC40 #405BCC #B140CC
monochromatic
#59731F #7EA32C #A1CC40 #B9D970 #D1E6A1

Accessibility & contrast

On white

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

On black

11.23
#A1CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1CC40
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1CC40#FFFFFF#000000##000000
##A1CC401.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1cc40;
/* rgb */ color: rgb(161, 204, 64);
/* oklch */ color: oklch(78.8% 0.171 125.0);
Tailwind
colors: {
  custom: {
    50: '#c0db7d',
    500: '#a1cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a1cc40;
$custom-light: #c0db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cc40",
  "rgb": {
    "r": 161,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 78.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.17089,
    "h": 125
  },
  "luminance": 0.51133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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