#A6F478#A6F478

#A6F478 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.0% C 0.175 H 135.1°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#A6F478
RGBrgb(166, 244, 120)
HSLhsl(98, 85%, 71%)
HSVhsv(98, 51%, 96%)
CMYKcmyk(32%, 0%, 50.8%, 4.3%)
CIE-LABlab(89.00, -45.05, 51.81)
CIE-LCHlch(89.00, 68.66, 131.01°)
OKLaboklab(88.97% -0.1243 0.1238)
OKLCHoklch(88.97% 0.175 135.1)
XYZxyz(51.4655, 74.1624, 29.3688)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F478 #C678F4
analogous
#E4F478 #A6F478 #78F488
triadic
#A6F478 #78A6F4 #F478A6
tetradic
#A6F478 #78E4F4 #C678F4 #F48878
square
#A6F478 #78E4F4 #C678F4 #F48878
split-complementary
#A6F478 #8878F4 #F478E4
monochromatic
#5EDF12 #81EF3F #A6F478 #CBF9B1 #ECFDE3

Accessibility & contrast

On white

1.33
#A6F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#A6F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F478
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F478#FFFFFF#000000##000000
##A6F4781.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#F1DD80
Tritanopia (blue-blind)
#A5ECD8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #a6f478;
/* rgb */ color: rgb(166, 244, 120);
/* oklch */ color: oklch(89.0% 0.175 135.1);
Tailwind
colors: {
  custom: {
    50: '#c4f8a2',
    500: '#a6f478',
    950: '#000000',
  },
}
SCSS
$custom: #a6f478;
$custom-light: #c4f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f478",
  "rgb": {
    "r": 166,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 97.742,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88972,
    "c": 0.17545,
    "h": 135.1
  },
  "luminance": 0.74164
}

Semantic roles & 50–950 ramp

primary
#A6F478
secondary
#9A41CF
accent
#04E18F
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F478

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

Preview Lab → · Contrast checker → · Palette generator →

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