#A5F871#A5F871

#A5F871 is a very light, vivid yellow-green. Relative luminance 0.763; OKLCH L 89.8% C 0.188 H 134.9°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#A5F871
RGBrgb(165, 248, 113)
HSLhsl(97, 91%, 71%)
HSVhsv(97, 54%, 97%)
CMYKcmyk(33.5%, 0%, 54.4%, 2.7%)
CIE-LABlab(90.01, -47.83, 56.19)
CIE-LCHlch(90.01, 73.79, 130.41°)
OKLaboklab(89.76% -0.1324 0.1328)
OKLCHoklch(89.76% 0.188 134.9)
XYZxyz(52.0639, 76.3242, 27.6084)
Luminance0.7633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F871 #C471F8
analogous
#E8F871 #A5F871 #71F880
triadic
#A5F871 #71A5F8 #F871A5
tetradic
#A5F871 #71E8F8 #C471F8 #F88071
square
#A5F871 #71E8F8 #C471F8 #F88071
split-complementary
#A5F871 #8071F8 #F871E8
monochromatic
#5EE30B #80F537 #A5F871 #CAFBAB #EDFEE2

Accessibility & contrast

On white

1.29
#A5F871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#A5F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F871
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F871#FFFFFF#000000##000000
##A5F8711.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#F4E07A
Tritanopia (blue-blind)
#A4F0DA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #a5f871;
/* rgb */ color: rgb(165, 248, 113);
/* oklch */ color: oklch(89.8% 0.188 134.9);
Tailwind
colors: {
  custom: {
    50: '#c4fb9d',
    500: '#a5f871',
    950: '#000000',
  },
}
SCSS
$custom: #a5f871;
$custom-light: #c4fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f871",
  "rgb": {
    "r": 165,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 96.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89755,
    "c": 0.18754,
    "h": 134.9
  },
  "luminance": 0.76326
}

Semantic roles & 50–950 ramp

primary
#A5F871
secondary
#983AD3
accent
#00E68D
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F871

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

Preview Lab → · Contrast checker → · Palette generator →

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