#A5E87F#A5E87F

#A5E87F is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.3% C 0.152 H 135.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#A5E87F
RGBrgb(165, 232, 127)
HSLhsl(98, 70%, 70%)
HSVhsv(98, 45%, 91%)
CMYKcmyk(28.9%, 0%, 45.3%, 9%)
CIE-LABlab(85.63, -39.31, 44.34)
CIE-LCHlch(85.63, 59.26, 131.56°)
OKLaboklab(86.25% -0.1081 0.1076)
OKLCHoklch(86.25% 0.152 135.1)
XYZxyz(48.2033, 67.2432, 30.5141)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5E87F #C27FE8
analogous
#D9E87F #A5E87F #7FE88E
triadic
#A5E87F #7FA5E8 #E87FA5
tetradic
#A5E87F #7FD9E8 #C27FE8 #E88E7F
square
#A5E87F #7FD9E8 #C27FE8 #E88E7F
split-complementary
#A5E87F #8E7FE8 #E87FD9
monochromatic
#60C924 #81DF4B #A5E87F #C9F1B3 #EDFAE5

Accessibility & contrast

On white

1.45
#A5E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#A5E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5E87F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5E87F#FFFFFF#000000##000000
##A5E87F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDA77
Deuteranopia (green-blind)
#E5D485
Tritanopia (blue-blind)
#A4E1CF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #a5e87f;
/* rgb */ color: rgb(165, 232, 127);
/* oklch */ color: oklch(86.3% 0.152 135.1);
Tailwind
colors: {
  custom: {
    50: '#c2efa6',
    500: '#a5e87f',
    950: '#000000',
  },
}
SCSS
$custom: #a5e87f;
$custom-light: #c2efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a5e87f",
  "rgb": {
    "r": 165,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 98.286,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8625,
    "c": 0.15248,
    "h": 135.1
  },
  "luminance": 0.67245
}

Semantic roles & 50–950 ramp

primary
#A5E87F
secondary
#964BC1
accent
#14D28D
background
#FDFFFC
surface
#F9FEF6
border
#D2D6D0
text
#13160F
muted
#828580

Preview Lab

Preview with #A5E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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