#A1CC42#A1CC42

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

Color values

HEX#A1CC42
RGBrgb(161, 204, 66)
HSLhsl(79, 58%, 53%)
HSVhsv(79, 68%, 80%)
CMYKcmyk(21.1%, 0%, 67.6%, 20%)
CIE-LABlab(76.77, -33.90, 61.31)
CIE-LCHlch(76.77, 70.06, 118.94°)
OKLaboklab(78.82% -0.0976 0.1386)
OKLCHoklch(78.82% 0.17 125.1)
XYZxyz(37.2744, 51.1557, 13.0635)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1CC42 #6D42CC
analogous
#CCB242 #A1CC42 #5CCC42
triadic
#A1CC42 #42A1CC #CC42A1
tetradic
#A1CC42 #42CCB2 #6D42CC #CC425C
square
#A1CC42 #42CCB2 #6D42CC #CC425C
split-complementary
#A1CC42 #425CCC #B242CC
monochromatic
#5A741F #7FA42C #A1CC42 #B9D972 #D1E6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1CC42#FFFFFF#000000##000000
##A1CC421.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)
#D7BF2E
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#A8C2B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a1cc42;
/* rgb */ color: rgb(161, 204, 66);
/* oklch */ color: oklch(78.8% 0.170 125.1);
Tailwind
colors: {
  custom: {
    50: '#c0db7e',
    500: '#a1cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a1cc42;
$custom-light: #c0db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a1cc42",
  "rgb": {
    "r": 161,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 78.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78821,
    "c": 0.16953,
    "h": 125.1
  },
  "luminance": 0.51156
}

Semantic roles & 50–950 ramp

primary
#A1CC42
secondary
#4C357D
accent
#47E177
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A1CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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