#A1D152#A1D152

#A1D152 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.1% C 0.164 H 127.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#A1D152
RGBrgb(161, 209, 82)
HSLhsl(83, 58%, 57%)
HSVhsv(83, 61%, 82%)
CMYKcmyk(23%, 0%, 60.8%, 18%)
CIE-LABlab(78.34, -35.01, 56.44)
CIE-LCHlch(78.34, 66.42, 121.81°)
OKLaboklab(80.13% -0.0992 0.1304)
OKLCHoklch(80.13% 0.164 127.3)
XYZxyz(39.0214, 53.7865, 16.3070)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D152 #8252D1
analogous
#D1C252 #A1D152 #62D152
triadic
#A1D152 #52A1D1 #D152A1
tetradic
#A1D152 #52D1C2 #8252D1 #D15262
square
#A1D152 #52D1C2 #8252D1 #D15262
split-complementary
#A1D152 #5262D1 #C252D1
monochromatic
#608523 #83B630 #A1D152 #BBDE82 #D6EBB3

Accessibility & contrast

On white

1.79
#A1D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#A1D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D152
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D152#FFFFFF#000000##000000
##A1D1521.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#A6C8B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a1d152;
/* rgb */ color: rgb(161, 209, 82);
/* oklch */ color: oklch(80.1% 0.164 127.3);
Tailwind
colors: {
  custom: {
    50: '#c0df87',
    500: '#a1d152',
    950: '#000000',
  },
}
SCSS
$custom: #a1d152;
$custom-light: #c0df87;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d152",
  "rgb": {
    "r": 161,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 82.677,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80128,
    "c": 0.16388,
    "h": 127.3
  },
  "luminance": 0.53787
}

Semantic roles & 50–950 ramp

primary
#A1D152
secondary
#5A3B8C
accent
#47E181
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D152

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

Preview Lab → · Contrast checker → · Palette generator →

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