#A8F978#A8F978

#A8F978 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.2% C 0.181 H 135.1°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#A8F978
RGBrgb(168, 249, 120)
HSLhsl(98, 91%, 72%)
HSVhsv(98, 52%, 98%)
CMYKcmyk(32.5%, 0%, 51.8%, 2.4%)
CIE-LABlab(90.52, -46.52, 53.66)
CIE-LCHlch(90.52, 71.02, 130.93°)
OKLaboklab(90.23% -0.1285 0.1278)
OKLCHoklch(90.23% 0.181 135.1)
XYZxyz(53.4131, 77.4301, 29.8969)
Luminance0.7743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8F978 #C978F9
analogous
#E9F978 #A8F978 #78F988
triadic
#A8F978 #78A8F9 #F978A8
tetradic
#A8F978 #78E9F9 #C978F9 #F98878
square
#A8F978 #78E9F9 #C978F9 #F98878
split-complementary
#A8F978 #8878F9 #F978E9
monochromatic
#5EEC0A #82F63D #A8F978 #CEFCB3 #ECFEE2

Accessibility & contrast

On white

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

On black

16.49
#A8F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8F978
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8F978#FFFFFF#000000##000000
##A8F9781.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8f978;
/* rgb */ color: rgb(168, 249, 120);
/* oklch */ color: oklch(90.2% 0.181 135.1);
Tailwind
colors: {
  custom: {
    50: '#c5fba2',
    500: '#a8f978',
    950: '#000000',
  },
}
SCSS
$custom: #a8f978;
$custom-light: #c5fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8f978",
  "rgb": {
    "r": 168,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 97.674,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90234,
    "c": 0.18125,
    "h": 135.1
  },
  "luminance": 0.77432
}

Semantic roles & 50–950 ramp

primary
#A8F978
secondary
#9E40D5
accent
#00E690
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A8F978

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

Preview Lab → · Contrast checker → · Palette generator →

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