#A1D752#A1D752

#A1D752 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.5% C 0.172 H 128.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#A1D752
RGBrgb(161, 215, 82)
HSLhsl(84, 62%, 58%)
HSVhsv(84, 62%, 84%)
CMYKcmyk(25.1%, 0%, 61.9%, 15.7%)
CIE-LABlab(80.06, -37.73, 58.33)
CIE-LCHlch(80.06, 69.47, 122.90°)
OKLaboklab(81.52% -0.1067 0.1344)
OKLCHoklch(81.52% 0.172 128.4)
XYZxyz(40.5212, 56.7863, 16.8070)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D752 #8852D7
analogous
#D7CA52 #A1D752 #5ED752
triadic
#A1D752 #52A1D7 #D752A1
tetradic
#A1D752 #52D7CA #8852D7 #D7525E
square
#A1D752 #52D7CA #8852D7 #D7525E
split-complementary
#A1D752 #525ED7 #CA52D7
monochromatic
#628E21 #84C02C #A1D752 #BCE284 #D7EEB5

Accessibility & contrast

On white

1.70
#A1D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#A1D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D752
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D752#FFFFFF#000000##000000
##A1D7521.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#A6CEBB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a1d752;
/* rgb */ color: rgb(161, 215, 82);
/* oklch */ color: oklch(81.5% 0.172 128.4);
Tailwind
colors: {
  custom: {
    50: '#c0e388',
    500: '#a1d752',
    950: '#000000',
  },
}
SCSS
$custom: #a1d752;
$custom-light: #c0e388;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d752",
  "rgb": {
    "r": 161,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 84.361,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81522,
    "c": 0.17167,
    "h": 128.4
  },
  "luminance": 0.56787
}

Semantic roles & 50–950 ramp

primary
#A1D752
secondary
#5E3A93
accent
#42E685
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D752

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

Preview Lab → · Contrast checker → · Palette generator →

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