#A6F97C#A6F97C

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

Color values

HEX#A6F97C
RGBrgb(166, 249, 124)
HSLhsl(100, 91%, 73%)
HSVhsv(100, 50%, 98%)
CMYKcmyk(33.3%, 0%, 50.2%, 2.4%)
CIE-LABlab(90.46, -46.74, 51.73)
CIE-LCHlch(90.46, 69.72, 132.10°)
OKLaboklab(90.18% -0.1288 0.1239)
OKLCHoklch(90.18% 0.179 136.1)
XYZxyz(53.2383, 77.3113, 31.1824)
Luminance0.7731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F97C #CF7CF9
analogous
#E4F97C #A6F97C #7CF990
triadic
#A6F97C #7CA6F9 #F97CA6
tetradic
#A6F97C #7CE4F9 #CF7CF9 #F9907C
square
#A6F97C #7CE4F9 #CF7CF9 #F9907C
split-complementary
#A6F97C #907CF9 #F97CE4
monochromatic
#58F00B #7EF641 #A6F97C #CEFCB7 #EBFEE2

Accessibility & contrast

On white

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

On black

16.46
#A6F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F97C
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F97C#FFFFFF#000000##000000
##A6F97C1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#F5E184
Tritanopia (blue-blind)
#A4F1DC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a6f97c;
/* rgb */ color: rgb(166, 249, 124);
/* oklch */ color: oklch(90.2% 0.179 136.1);
Tailwind
colors: {
  custom: {
    50: '#c4fba4',
    500: '#a6f97c',
    950: '#000000',
  },
}
SCSS
$custom: #a6f97c;
$custom-light: #c4fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f97c",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 99.84,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90178,
    "c": 0.17866,
    "h": 136.1
  },
  "luminance": 0.77314
}

Semantic roles & 50–950 ramp

primary
#A6F97C
secondary
#A544D6
accent
#00E698
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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