#A6F978#A6F978

#A6F978 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.1% C 0.182 H 135.6°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#A6F978
RGBrgb(166, 249, 120)
HSLhsl(99, 91%, 72%)
HSVhsv(99, 52%, 98%)
CMYKcmyk(33.3%, 0%, 51.8%, 2.4%)
CIE-LABlab(90.42, -47.18, 53.52)
CIE-LCHlch(90.42, 71.35, 131.40°)
OKLaboklab(90.13% -0.1302 0.1275)
OKLCHoklch(90.13% 0.182 135.6)
XYZxyz(52.9904, 77.2122, 29.8771)
Luminance0.7721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F978 #CB78F9
analogous
#E6F978 #A6F978 #78F98B
triadic
#A6F978 #78A6F9 #F978A6
tetradic
#A6F978 #78E6F9 #CB78F9 #F98B78
square
#A6F978 #78E6F9 #CB78F9 #F98B78
split-complementary
#A6F978 #8B78F9 #F978E6
monochromatic
#5BEC0A #7FF63D #A6F978 #CDFCB3 #ECFEE2

Accessibility & contrast

On white

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

On black

16.44
#A6F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F978
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F978#FFFFFF#000000##000000
##A6F9781.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6f978;
/* rgb */ color: rgb(166, 249, 120);
/* oklch */ color: oklch(90.1% 0.182 135.6);
Tailwind
colors: {
  custom: {
    50: '#c4fba2',
    500: '#a6f978',
    950: '#000000',
  },
}
SCSS
$custom: #a6f978;
$custom-light: #c4fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f978",
  "rgb": {
    "r": 166,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 98.605,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90126,
    "c": 0.18227,
    "h": 135.6
  },
  "luminance": 0.77214
}

Semantic roles & 50–950 ramp

primary
#A6F978
secondary
#A040D5
accent
#00E694
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F978

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

Preview Lab → · Contrast checker → · Palette generator →

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