#A5D871#A5D871

#A5D871 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.4% C 0.143 H 130.6°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#A5D871
RGBrgb(165, 216, 113)
HSLhsl(90, 57%, 65%)
HSVhsv(90, 48%, 85%)
CMYKcmyk(23.6%, 0%, 47.7%, 15.3%)
CIE-LABlab(80.91, -33.71, 45.26)
CIE-LCHlch(80.91, 56.43, 126.68°)
OKLaboklab(82.37% -0.0934 0.1088)
OKLCHoklch(82.37% 0.143 130.6)
XYZxyz(43.0530, 58.3024, 24.6048)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D871 #A471D8
analogous
#D8D871 #A5D871 #72D871
triadic
#A5D871 #71A5D8 #D871A5
tetradic
#A5D871 #71D8D8 #A471D8 #D87172
square
#A5D871 #71D8D8 #A471D8 #D87172
split-complementary
#A5D871 #7172D8 #D871D8
monochromatic
#68A22D #87CB41 #A5D871 #C3E5A1 #E2F2D1

Accessibility & contrast

On white

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

On black

12.66
#A5D871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D871
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D871#FFFFFF#000000##000000
##A5D8711.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB68
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#A8D0C0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a5d871;
/* rgb */ color: rgb(165, 216, 113);
/* oklch */ color: oklch(82.4% 0.143 130.6);
Tailwind
colors: {
  custom: {
    50: '#c2e49c',
    500: '#a5d871',
    950: '#000000',
  },
}
SCSS
$custom: #a5d871;
$custom-light: #c2e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d871",
  "rgb": {
    "r": 165,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 89.709,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82374,
    "c": 0.1434,
    "h": 130.6
  },
  "luminance": 0.58303
}

Semantic roles & 50–950 ramp

primary
#A5D871
secondary
#7647A6
accent
#21C472
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #A5D871

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

Preview Lab → · Contrast checker → · Palette generator →

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