#A1D751#A1D751

#A1D751 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.35:1 contrast (WCAG AA passes).

Color values

HEX#A1D751
RGBrgb(161, 215, 81)
HSLhsl(84, 63%, 58%)
HSVhsv(84, 62%, 84%)
CMYKcmyk(25.1%, 0%, 62.3%, 15.7%)
CIE-LABlab(80.05, -37.81, 58.74)
CIE-LCHlch(80.05, 69.86, 122.77°)
OKLaboklab(81.51% -0.107 0.1352)
OKLCHoklch(81.51% 0.172 128.4)
XYZxyz(40.4835, 56.7712, 16.6080)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D751 #8751D7
analogous
#D7CA51 #A1D751 #5ED751
triadic
#A1D751 #51A1D7 #D751A1
tetradic
#A1D751 #51D7CA #8751D7 #D7515E
square
#A1D751 #51D7CA #8751D7 #D7515E
split-complementary
#A1D751 #515ED7 #CA51D7
monochromatic
#618D20 #84BF2C #A1D751 #BCE283 #D7EEB5

Accessibility & contrast

On white

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

On black

12.35
#A1D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D751
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D751#FFFFFF#000000##000000
##A1D7511.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1d751;
/* rgb */ color: rgb(161, 215, 81);
/* oklch */ color: oklch(81.5% 0.172 128.4);
Tailwind
colors: {
  custom: {
    50: '#c0e387',
    500: '#a1d751',
    950: '#000000',
  },
}
SCSS
$custom: #a1d751;
$custom-light: #c0e387;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d751",
  "rgb": {
    "r": 161,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 84.179,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81512,
    "c": 0.17244,
    "h": 128.4
  },
  "luminance": 0.56772
}

Semantic roles & 50–950 ramp

primary
#A1D751
secondary
#5D3993
accent
#42E684
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A1D751

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

Preview Lab → · Contrast checker → · Palette generator →

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