#A6F97A#A6F97A

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

Color values

HEX#A6F97A
RGBrgb(166, 249, 122)
HSLhsl(99, 91%, 73%)
HSVhsv(99, 51%, 98%)
CMYKcmyk(33.3%, 0%, 51%, 2.4%)
CIE-LABlab(90.44, -46.96, 52.63)
CIE-LCHlch(90.44, 70.54, 131.75°)
OKLaboklab(90.15% -0.1295 0.1257)
OKLCHoklch(90.15% 0.18 135.8)
XYZxyz(53.1131, 77.2613, 30.5230)
Luminance0.7726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F97A #CD7AF9
analogous
#E5F97A #A6F97A #7AF98E
triadic
#A6F97A #7AA6F9 #F97AA6
tetradic
#A6F97A #7AE5F9 #CD7AF9 #F98E7A
square
#A6F97A #7AE5F9 #CD7AF9 #F98E7A
split-complementary
#A6F97A #8E7AF9 #F97AE5
monochromatic
#59EE0B #7FF63F #A6F97A #CDFCB5 #EBFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6F97A#FFFFFF#000000##000000
##A6F97A1.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)
#FFE86F
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#A4F1DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a6f97a;
/* rgb */ color: rgb(166, 249, 122);
/* oklch */ color: oklch(90.2% 0.180 135.8);
Tailwind
colors: {
  custom: {
    50: '#c4fba3',
    500: '#a6f97a',
    950: '#000000',
  },
}
SCSS
$custom: #a6f97a;
$custom-light: #c4fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f97a",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 99.213,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90152,
    "c": 0.18047,
    "h": 135.8
  },
  "luminance": 0.77263
}

Semantic roles & 50–950 ramp

primary
#A6F97A
secondary
#A242D5
accent
#00E696
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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