#A1D252#A1D252

#A1D252 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.4% C 0.165 H 127.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#A1D252
RGBrgb(161, 210, 82)
HSLhsl(83, 59%, 57%)
HSVhsv(83, 61%, 82%)
CMYKcmyk(23.3%, 0%, 61%, 17.6%)
CIE-LABlab(78.62, -35.47, 56.76)
CIE-LCHlch(78.62, 66.93, 122.00°)
OKLaboklab(80.36% -0.1005 0.1311)
OKLCHoklch(80.36% 0.165 127.5)
XYZxyz(39.2675, 54.2788, 16.3890)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D252 #8352D2
analogous
#D2C352 #A1D252 #61D252
triadic
#A1D252 #52A1D2 #D252A1
tetradic
#A1D252 #52D2C3 #8352D2 #D25261
square
#A1D252 #52D2C3 #8352D2 #D25261
split-complementary
#A1D252 #5261D2 #C352D2
monochromatic
#608723 #83B730 #A1D252 #BBDF83 #D6EBB3

Accessibility & contrast

On white

1.77
#A1D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#A1D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D252
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D252#FFFFFF#000000##000000
##A1D2521.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#A6C9B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a1d252;
/* rgb */ color: rgb(161, 210, 82);
/* oklch */ color: oklch(80.4% 0.165 127.5);
Tailwind
colors: {
  custom: {
    50: '#c0e088',
    500: '#a1d252',
    950: '#000000',
  },
}
SCSS
$custom: #a1d252;
$custom-light: #c0e088;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d252",
  "rgb": {
    "r": 161,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 82.969,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8036,
    "c": 0.16518,
    "h": 127.5
  },
  "luminance": 0.54279
}

Semantic roles & 50–950 ramp

primary
#A1D252
secondary
#5A3B8D
accent
#46E282
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D252

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

Preview Lab → · Contrast checker → · Palette generator →

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