#A1D87F#A1D87F

#A1D87F is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.3% C 0.131 H 134.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#A1D87F
RGBrgb(161, 216, 127)
HSLhsl(97, 53%, 67%)
HSVhsv(97, 41%, 85%)
CMYKcmyk(25.5%, 0%, 41.2%, 15.3%)
CIE-LABlab(80.86, -33.42, 38.26)
CIE-LCHlch(80.86, 50.80, 131.14°)
OKLaboklab(82.34% -0.0916 0.0938)
OKLCHoklch(82.34% 0.131 134.3)
XYZxyz(43.0836, 58.2199, 29.0422)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1D87F #B67FD8
analogous
#CDD87F #A1D87F #7FD88A
triadic
#A1D87F #7FA1D8 #D87FA1
tetradic
#A1D87F #7FCDD8 #B67FD8 #D88A7F
square
#A1D87F #7FCDD8 #B67FD8 #D88A7F
split-complementary
#A1D87F #8A7FD8 #D87FCD
monochromatic
#60A934 #7FCA50 #A1D87F #C3E6AE #E6F5DD

Accessibility & contrast

On white

1.66
#A1D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#A1D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1D87F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1D87F#FFFFFF#000000##000000
##A1D87F1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC78
Deuteranopia (green-blind)
#D6C784
Tritanopia (blue-blind)
#A1D2C2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a1d87f;
/* rgb */ color: rgb(161, 216, 127);
/* oklch */ color: oklch(82.3% 0.131 134.3);
Tailwind
colors: {
  custom: {
    50: '#bee4a5',
    500: '#a1d87f',
    950: '#000000',
  },
}
SCSS
$custom: #a1d87f;
$custom-light: #bee4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a1d87f",
  "rgb": {
    "r": 161,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 97.079,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82338,
    "c": 0.13112,
    "h": 134.3
  },
  "luminance": 0.58221
}

Semantic roles & 50–950 ramp

primary
#A1D87F
secondary
#894FAC
accent
#25C185
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#12150F
muted
#828480

Preview Lab

Preview with #A1D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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