#A7F978#A7F978

#A7F978 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.2% C 0.182 H 135.4°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#A7F978
RGBrgb(167, 249, 120)
HSLhsl(98, 91%, 72%)
HSVhsv(98, 52%, 98%)
CMYKcmyk(32.9%, 0%, 51.8%, 2.4%)
CIE-LABlab(90.47, -46.86, 53.59)
CIE-LCHlch(90.47, 71.18, 131.16°)
OKLaboklab(90.18% -0.1294 0.1277)
OKLCHoklch(90.18% 0.182 135.4)
XYZxyz(53.2009, 77.3207, 29.8869)
Luminance0.7732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7F978 #CA78F9
analogous
#E7F978 #A7F978 #78F98A
triadic
#A7F978 #78A7F9 #F978A7
tetradic
#A7F978 #78E7F9 #CA78F9 #F98A78
square
#A7F978 #78E7F9 #CA78F9 #F98A78
split-complementary
#A7F978 #8A78F9 #F978E7
monochromatic
#5DEC0A #81F63D #A7F978 #CDFCB3 #ECFEE2

Accessibility & contrast

On white

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

On black

16.46
#A7F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7F978
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7F978#FFFFFF#000000##000000
##A7F9781.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7f978;
/* rgb */ color: rgb(167, 249, 120);
/* oklch */ color: oklch(90.2% 0.182 135.4);
Tailwind
colors: {
  custom: {
    50: '#c5fba2',
    500: '#a7f978',
    950: '#000000',
  },
}
SCSS
$custom: #a7f978;
$custom-light: #c5fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7f978",
  "rgb": {
    "r": 167,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 98.14,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9018,
    "c": 0.18176,
    "h": 135.4
  },
  "luminance": 0.77323
}

Semantic roles & 50–950 ramp

primary
#A7F978
secondary
#9F40D5
accent
#00E692
background
#FDFFFC
surface
#F9FFF6
border
#D2D7D0
text
#13170F
muted
#828580

Preview Lab

Preview with #A7F978

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

Preview Lab → · Contrast checker → · Palette generator →

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