#A1EC52#A1EC52

#A1EC52 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.4% C 0.198 H 131.7°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#A1EC52
RGBrgb(161, 236, 82)
HSLhsl(89, 80%, 62%)
HSVhsv(89, 65%, 93%)
CMYKcmyk(31.8%, 0%, 65.3%, 7.5%)
CIE-LABlab(86.09, -46.88, 64.84)
CIE-LCHlch(86.09, 80.02, 125.87°)
OKLaboklab(86.42% -0.1319 0.1482)
OKLCHoklch(86.42% 0.198 131.7)
XYZxyz(46.2159, 68.1755, 18.7052)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1EC52 #9D52EC
analogous
#ECEA52 #A1EC52 #54EC52
triadic
#A1EC52 #52A1EC #EC52A1
tetradic
#A1EC52 #52ECEA #9D52EC #EC5254
square
#A1EC52 #52ECEA #9D52EC #EC5254
split-complementary
#A1EC52 #5254EC #EA52EC
monochromatic
#64B013 #83E61B #A1EC52 #BFF289 #DDF8C0

Accessibility & contrast

On white

1.43
#A1EC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#A1EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1EC52
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1EC52#FFFFFF#000000##000000
##A1EC521.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3D
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#A3E3CD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #a1ec52;
/* rgb */ color: rgb(161, 236, 82);
/* oklch */ color: oklch(86.4% 0.198 131.7);
Tailwind
colors: {
  custom: {
    50: '#c1f28a',
    500: '#a1ec52',
    950: '#000000',
  },
}
SCSS
$custom: #a1ec52;
$custom-light: #c1f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ec52",
  "rgb": {
    "r": 161,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 89.221,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86424,
    "c": 0.19836,
    "h": 131.7
  },
  "luminance": 0.68177
}

Semantic roles & 50–950 ramp

primary
#A1EC52
secondary
#6F32B1
accent
#09DD70
background
#FDFFFC
surface
#F9FEF4
border
#D2D6CE
text
#13170C
muted
#82857F

Preview Lab

Preview with #A1EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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