#A8F971#A8F971

#A8F971 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.1% C 0.187 H 134.3°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#A8F971
RGBrgb(168, 249, 113)
HSLhsl(96, 92%, 71%)
HSVhsv(96, 55%, 98%)
CMYKcmyk(32.5%, 0%, 54.6%, 2.4%)
CIE-LABlab(90.44, -47.26, 56.73)
CIE-LCHlch(90.44, 73.84, 129.79°)
OKLaboklab(90.15% -0.131 0.134)
OKLCHoklch(90.15% 0.187 134.3)
XYZxyz(53.0037, 77.2664, 27.7408)
Luminance0.7727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F971 #C271F9
analogous
#ECF971 #A8F971 #71F97E
triadic
#A8F971 #71A8F9 #F971A8
tetradic
#A8F971 #71ECF9 #C271F9 #F97E71
square
#A8F971 #71ECF9 #C271F9 #F97E71
split-complementary
#A8F971 #7E71F9 #F971EC
monochromatic
#63E60A #84F736 #A8F971 #CCFBAC #EDFEE2

Accessibility & contrast

On white

1.28
#A8F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#A8F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F971
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F971#FFFFFF#000000##000000
##A8F9711.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#A8F0DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a8f971;
/* rgb */ color: rgb(168, 249, 113);
/* oklch */ color: oklch(90.1% 0.187 134.3);
Tailwind
colors: {
  custom: {
    50: '#c6fb9d',
    500: '#a8f971',
    950: '#000000',
  },
}
SCSS
$custom: #a8f971;
$custom-light: #c6fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f971",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 95.735,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90149,
    "c": 0.18737,
    "h": 134.3
  },
  "luminance": 0.77268
}

Semantic roles & 50–950 ramp

primary
#A8F971
secondary
#963AD4
accent
#00E689
background
#FEFFFC
surface
#FAFFF5
border
#D3D7CF
text
#13170F
muted
#838580

Preview Lab

Preview with #A8F971

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

Preview Lab → · Contrast checker → · Palette generator →

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