#A8F771#A8F771

#A8F771 is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 89.7% C 0.185 H 134.1°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#A8F771
RGBrgb(168, 247, 113)
HSLhsl(95, 89%, 71%)
HSVhsv(95, 54%, 97%)
CMYKcmyk(32%, 0%, 54.3%, 3.1%)
CIE-LABlab(89.88, -46.41, 56.07)
CIE-LCHlch(89.88, 72.78, 129.61°)
OKLaboklab(89.69% -0.1286 0.1326)
OKLCHoklch(89.69% 0.185 134.1)
XYZxyz(52.3888, 76.0366, 27.5358)
Luminance0.7604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F771 #C071F7
analogous
#EBF771 #A8F771 #71F77D
triadic
#A8F771 #71A8F7 #F771A8
tetradic
#A8F771 #71EBF7 #C071F7 #F77D71
square
#A8F771 #71EBF7 #C071F7 #F77D71
split-complementary
#A8F771 #7D71F7 #F771EB
monochromatic
#64E10D #85F437 #A8F771 #CBFAAB #EDFDE2

Accessibility & contrast

On white

1.30
#A8F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#A8F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F771
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F771#FFFFFF#000000##000000
##A8F7711.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8f771;
/* rgb */ color: rgb(168, 247, 113);
/* oklch */ color: oklch(89.7% 0.185 134.1);
Tailwind
colors: {
  custom: {
    50: '#c5fa9d',
    500: '#a8f771',
    950: '#000000',
  },
}
SCSS
$custom: #a8f771;
$custom-light: #c5fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f771",
  "rgb": {
    "r": 168,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 95.373,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89687,
    "c": 0.1847,
    "h": 134.1
  },
  "luminance": 0.76039
}

Semantic roles & 50–950 ramp

primary
#A8F771
secondary
#943AD2
accent
#00E687
background
#FEFFFC
surface
#FAFFF5
border
#D3D7CF
text
#13170F
muted
#838580

Preview Lab

Preview with #A8F771

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

Preview Lab → · Contrast checker → · Palette generator →

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