#A5F978#A5F978

#A5F978 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.1% C 0.183 H 135.8°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#A5F978
RGBrgb(165, 249, 120)
HSLhsl(99, 91%, 72%)
HSVhsv(99, 52%, 98%)
CMYKcmyk(33.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(90.37, -47.51, 53.45)
CIE-LCHlch(90.37, 71.51, 131.64°)
OKLaboklab(90.07% -0.1311 0.1274)
OKLCHoklch(90.07% 0.183 135.8)
XYZxyz(52.7816, 77.1045, 29.8673)
Luminance0.7711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5F978 #CC78F9
analogous
#E5F978 #A5F978 #78F98C
triadic
#A5F978 #78A5F9 #F978A5
tetradic
#A5F978 #78E5F9 #CC78F9 #F98C78
square
#A5F978 #78E5F9 #CC78F9 #F98C78
split-complementary
#A5F978 #8C78F9 #F978E5
monochromatic
#59EC0A #7EF63D #A5F978 #CCFCB3 #EBFEE2

Accessibility & contrast

On white

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

On black

16.42
#A5F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5F978
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5F978#FFFFFF#000000##000000
##A5F9781.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5f978;
/* rgb */ color: rgb(165, 249, 120);
/* oklch */ color: oklch(90.1% 0.183 135.8);
Tailwind
colors: {
  custom: {
    50: '#c3fca2',
    500: '#a5f978',
    950: '#000000',
  },
}
SCSS
$custom: #a5f978;
$custom-light: #c3fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5f978",
  "rgb": {
    "r": 165,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 99.07,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90073,
    "c": 0.18277,
    "h": 135.8
  },
  "luminance": 0.77107
}

Semantic roles & 50–950 ramp

primary
#A5F978
secondary
#A140D5
accent
#00E695
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A5F978

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

Preview Lab → · Contrast checker → · Palette generator →

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