#A5D978#A5D978

#A5D978 is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.7% C 0.138 H 131.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#A5D978
RGBrgb(165, 217, 120)
HSLhsl(92, 56%, 66%)
HSVhsv(92, 45%, 85%)
CMYKcmyk(24%, 0%, 44.7%, 14.9%)
CIE-LABlab(81.28, -33.35, 42.31)
CIE-LCHlch(81.28, 53.87, 128.24°)
OKLaboklab(82.71% -0.0919 0.1026)
OKLCHoklch(82.71% 0.138 131.9)
XYZxyz(43.7194, 58.9801, 26.8465)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5D978 #AC78D9
analogous
#D5D978 #A5D978 #78D97B
triadic
#A5D978 #78A5D9 #D978A5
tetradic
#A5D978 #78D5D9 #AC78D9 #D97B78
square
#A5D978 #78D5D9 #AC78D9 #D97B78
split-complementary
#A5D978 #7B78D9 #D978D5
monochromatic
#67A72F #85CC48 #A5D978 #C5E6A8 #E5F4D8

Accessibility & contrast

On white

1.64
#A5D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#A5D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5D978
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5D978#FFFFFF#000000##000000
##A5D9781.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD70
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#A7D2C2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #a5d978;
/* rgb */ color: rgb(165, 217, 120);
/* oklch */ color: oklch(82.7% 0.138 131.9);
Tailwind
colors: {
  custom: {
    50: '#c1e5a0',
    500: '#a5d978',
    950: '#000000',
  },
}
SCSS
$custom: #a5d978;
$custom-light: #c1e5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5d978",
  "rgb": {
    "r": 165,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 92.165,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82706,
    "c": 0.1378,
    "h": 131.9
  },
  "luminance": 0.58981
}

Semantic roles & 50–950 ramp

primary
#A5D978
secondary
#7E4AAB
accent
#22C479
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#12150F
muted
#828480

Preview Lab

Preview with #A5D978

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

Preview Lab → · Contrast checker → · Palette generator →

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