#A1E254#A1E254

#A1E254 is a very light, vivid yellow-green. Relative luminance 0.626; OKLCH L 84.1% C 0.184 H 130.4°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#A1E254
RGBrgb(161, 226, 84)
HSLhsl(87, 71%, 61%)
HSVhsv(87, 63%, 89%)
CMYKcmyk(28.8%, 0%, 62.8%, 11.4%)
CIE-LABlab(83.24, -42.44, 60.97)
CIE-LCHlch(83.24, 74.28, 124.84°)
OKLaboklab(84.1% -0.1195 0.1403)
OKLCHoklch(84.1% 0.184 130.4)
XYZxyz(43.4942, 62.6086, 18.1789)
Luminance0.6261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1E254 #9554E2
analogous
#E2DC54 #A1E254 #5AE254
triadic
#A1E254 #54A1E2 #E254A1
tetradic
#A1E254 #54E2DC #9554E2 #E2545A
square
#A1E254 #54E2DC #9554E2 #E2545A
split-complementary
#A1E254 #545AE2 #DC54E2
monochromatic
#63A01B #84D524 #A1E254 #BEEB88 #DBF4BD

Accessibility & contrast

On white

1.55
#A1E254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#A1E254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1E254
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1E254#FFFFFF#000000##000000
##A1E2541.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD242
Deuteranopia (green-blind)
#E3CE5F
Tritanopia (blue-blind)
#A4D9C4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #a1e254;
/* rgb */ color: rgb(161, 226, 84);
/* oklch */ color: oklch(84.1% 0.184 130.4);
Tailwind
colors: {
  custom: {
    50: '#c1eb8a',
    500: '#a1e254',
    950: '#000000',
  },
}
SCSS
$custom: #a1e254;
$custom-light: #c1eb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a1e254",
  "rgb": {
    "r": 161,
    "g": 226,
    "b": 84
  },
  "hsl": {
    "h": 87.465,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84105,
    "c": 0.18428,
    "h": 130.4
  },
  "luminance": 0.6261
}

Semantic roles & 50–950 ramp

primary
#A1E254
secondary
#6937A3
accent
#12D36B
background
#FDFEFC
surface
#F9FDF4
border
#D2D5CE
text
#13160C
muted
#82847F

Preview Lab

Preview with #A1E254

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

Preview Lab → · Contrast checker → · Palette generator →

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