#A5D971#A5D971

#A5D971 is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.6% C 0.145 H 130.8°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#A5D971
RGBrgb(165, 217, 113)
HSLhsl(90, 58%, 65%)
HSVhsv(90, 48%, 85%)
CMYKcmyk(24%, 0%, 47.9%, 14.9%)
CIE-LABlab(81.19, -34.17, 45.61)
CIE-LCHlch(81.19, 56.99, 126.84°)
OKLaboklab(82.6% -0.0946 0.1096)
OKLCHoklch(82.6% 0.145 130.8)
XYZxyz(43.3100, 58.8163, 24.6904)
Luminance0.5882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D971 #A571D9
analogous
#D9D971 #A5D971 #71D971
triadic
#A5D971 #71A5D9 #D971A5
tetradic
#A5D971 #71D9D9 #A571D9 #D97171
square
#A5D971 #71D9D9 #A571D9 #D97171
split-complementary
#A5D971 #7171D9 #D971D9
monochromatic
#68A42C #86CC41 #A5D971 #C4E6A1 #E2F3D2

Accessibility & contrast

On white

1.65
#A5D971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#A5D971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D971
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D971#FFFFFF#000000##000000
##A5D9711.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC68
Deuteranopia (green-blind)
#DAC877
Tritanopia (blue-blind)
#A8D1C1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a5d971;
/* rgb */ color: rgb(165, 217, 113);
/* oklch */ color: oklch(82.6% 0.145 130.8);
Tailwind
colors: {
  custom: {
    50: '#c2e59c',
    500: '#a5d971',
    950: '#000000',
  },
}
SCSS
$custom: #a5d971;
$custom-light: #c2e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d971",
  "rgb": {
    "r": 165,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 90,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82604,
    "c": 0.14482,
    "h": 130.8
  },
  "luminance": 0.58817
}

Semantic roles & 50–950 ramp

primary
#A5D971
secondary
#7747A7
accent
#20C573
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #A5D971

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

Preview Lab → · Contrast checker → · Palette generator →

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