#A6F87A#A6F87A

#A6F87A is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 89.9% C 0.179 H 135.8°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#A6F87A
RGBrgb(166, 248, 122)
HSLhsl(99, 90%, 73%)
HSVhsv(99, 51%, 97%)
CMYKcmyk(33.1%, 0%, 50.8%, 2.7%)
CIE-LABlab(90.16, -46.54, 52.28)
CIE-LCHlch(90.16, 70.00, 131.67°)
OKLaboklab(89.92% -0.1283 0.125)
OKLCHoklch(89.92% 0.179 135.8)
XYZxyz(52.8048, 76.6447, 30.4202)
Luminance0.7665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F87A #CC7AF8
analogous
#E5F87A #A6F87A #7AF88D
triadic
#A6F87A #7AA6F8 #F87AA6
tetradic
#A6F87A #7AE5F8 #CC7AF8 #F88D7A
square
#A6F87A #7AE5F8 #CC7AF8 #F88D7A
split-complementary
#A6F87A #8D7AF8 #F87AE5
monochromatic
#5AEB0C #7FF540 #A6F87A #CDFBB4 #ECFDE2

Accessibility & contrast

On white

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

On black

16.33
#A6F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F87A
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F87A#FFFFFF#000000##000000
##A6F87A1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#F4E082
Tritanopia (blue-blind)
#A4F0DB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #a6f87a;
/* rgb */ color: rgb(166, 248, 122);
/* oklch */ color: oklch(89.9% 0.179 135.8);
Tailwind
colors: {
  custom: {
    50: '#c4fba3',
    500: '#a6f87a',
    950: '#000000',
  },
}
SCSS
$custom: #a6f87a;
$custom-light: #c4fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f87a",
  "rgb": {
    "r": 166,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 99.048,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.89921,
    "c": 0.1791,
    "h": 135.8
  },
  "luminance": 0.76647
}

Semantic roles & 50–950 ramp

primary
#A6F87A
secondary
#A142D4
accent
#00E695
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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