#A8FA78#A8FA78

#A8FA78 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.5% C 0.183 H 135.2°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#A8FA78
RGBrgb(168, 250, 120)
HSLhsl(98, 93%, 73%)
HSVhsv(98, 52%, 98%)
CMYKcmyk(32.8%, 0%, 52%, 2%)
CIE-LABlab(90.80, -46.95, 54.00)
CIE-LCHlch(90.80, 71.56, 131.00°)
OKLaboklab(90.46% -0.1297 0.1286)
OKLCHoklch(90.46% 0.183 135.2)
XYZxyz(53.7230, 78.0499, 30.0002)
Luminance0.7805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8FA78 #CA78FA
analogous
#E9FA78 #A8FA78 #78FA89
triadic
#A8FA78 #78A8FA #FA78A8
tetradic
#A8FA78 #78E9FA #CA78FA #FA8978
square
#A8FA78 #78E9FA #CA78FA #FA8978
split-complementary
#A8FA78 #8978FA #FA78E9
monochromatic
#5EEF09 #82F83D #A8FA78 #CEFCB3 #ECFEE1

Accessibility & contrast

On white

1.26
#A8FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#A8FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8FA78
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8FA78#FFFFFF#000000##000000
##A8FA781.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8fa78;
/* rgb */ color: rgb(168, 250, 120);
/* oklch */ color: oklch(90.5% 0.183 135.2);
Tailwind
colors: {
  custom: {
    50: '#c5fca2',
    500: '#a8fa78',
    950: '#000000',
  },
}
SCSS
$custom: #a8fa78;
$custom-light: #c5fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8fa78",
  "rgb": {
    "r": 168,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 97.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90465,
    "c": 0.1826,
    "h": 135.2
  },
  "luminance": 0.78052
}

Semantic roles & 50–950 ramp

primary
#A8FA78
secondary
#9F40D6
accent
#00E691
background
#FEFFFC
surface
#FAFFF6
border
#D3D7D0
text
#13170F
muted
#838580

Preview Lab

Preview with #A8FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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