#A6F871#A6F871

#A6F871 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 89.8% C 0.187 H 134.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#A6F871
RGBrgb(166, 248, 113)
HSLhsl(96, 91%, 71%)
HSVhsv(96, 54%, 97%)
CMYKcmyk(33.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(90.06, -47.50, 56.26)
CIE-LCHlch(90.06, 73.63, 130.18°)
OKLaboklab(89.81% -0.1315 0.133)
OKLCHoklch(89.81% 0.187 134.7)
XYZxyz(52.2728, 76.4319, 27.6182)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F871 #C371F8
analogous
#EAF871 #A6F871 #71F87F
triadic
#A6F871 #71A6F8 #F871A6
tetradic
#A6F871 #71EAF8 #C371F8 #F87F71
square
#A6F871 #71EAF8 #C371F8 #F87F71
split-complementary
#A6F871 #7F71F8 #F871EA
monochromatic
#60E30B #81F537 #A6F871 #CBFBAB #EDFEE2

Accessibility & contrast

On white

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

On black

16.29
#A6F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F871
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F871#FFFFFF#000000##000000
##A6F8711.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#F5E07A
Tritanopia (blue-blind)
#A5F0DA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a6f871;
/* rgb */ color: rgb(166, 248, 113);
/* oklch */ color: oklch(89.8% 0.187 134.7);
Tailwind
colors: {
  custom: {
    50: '#c4fb9d',
    500: '#a6f871',
    950: '#000000',
  },
}
SCSS
$custom: #a6f871;
$custom-light: #c4fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f871",
  "rgb": {
    "r": 166,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 96.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89809,
    "c": 0.18704,
    "h": 134.7
  },
  "luminance": 0.76434
}

Semantic roles & 50–950 ramp

primary
#A6F871
secondary
#973AD3
accent
#00E68B
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F871

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

Preview Lab → · Contrast checker → · Palette generator →

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