#A6FA78#A6FA78

#A6FA78 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.4% C 0.184 H 135.7°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#A6FA78
RGBrgb(166, 250, 120)
HSLhsl(99, 93%, 73%)
HSVhsv(99, 52%, 98%)
CMYKcmyk(33.6%, 0%, 52%, 2%)
CIE-LABlab(90.70, -47.61, 53.86)
CIE-LCHlch(90.70, 71.88, 131.48°)
OKLaboklab(90.36% -0.1314 0.1283)
OKLCHoklch(90.36% 0.184 135.7)
XYZxyz(53.3003, 77.8320, 29.9804)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6FA78 #CC78FA
analogous
#E7FA78 #A6FA78 #78FA8B
triadic
#A6FA78 #78A6FA #FA78A6
tetradic
#A6FA78 #78E7FA #CC78FA #FA8B78
square
#A6FA78 #78E7FA #CC78FA #FA8B78
split-complementary
#A6FA78 #8B78FA #FA78E7
monochromatic
#5AEF09 #7FF83D #A6FA78 #CDFCB3 #ECFEE1

Accessibility & contrast

On white

1.27
#A6FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#A6FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6FA78
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6FA78#FFFFFF#000000##000000
##A6FA781.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#A4F2DD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #a6fa78;
/* rgb */ color: rgb(166, 250, 120);
/* oklch */ color: oklch(90.4% 0.184 135.7);
Tailwind
colors: {
  custom: {
    50: '#c4fca2',
    500: '#a6fa78',
    950: '#000000',
  },
}
SCSS
$custom: #a6fa78;
$custom-light: #c4fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6fa78",
  "rgb": {
    "r": 166,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 98.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90357,
    "c": 0.18361,
    "h": 135.7
  },
  "luminance": 0.77834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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