#hexpedia

Closest to Yellow Green

#A8B504

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEXA8B504
HEX with ##A8B504
RGBrgb(168, 181, 4)
RGBArgba(168, 181, 4, 1)
HSLhsl(64.41 95.68% 36.27%)
HSLAhsla(64.41, 95.68%, 36.27%, 1)
HSVhsv(64.41, 97.79%, 70.98%)
CMYKcmyk(7.18%, 0%, 97.79%, 29.02%)
OKLCHoklch(73.76% 0.1662 114.85)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

2.26:1

Decorative only

Black text

9.28:1

AAA normal

Reference notes

The hex value #A8B504 sits in the yellow range with a balanced appearance and saturated chroma. Measured through common web color formats, the channels resolve to rgb(168 181 4) and an HSL lightness of 36%, which explains its visual density. The warm cast matters because neighboring colors can make the same hex feel sharper, calmer, or more neutral than it appears in isolation. Because web color is device-dependent, treat the numeric conversion table as the stable reference and use the visual swatch as a quick sanity check. The linked variants and pairings give nearby colors for systematic palettes, while the CSS Forge links let the same value move directly into CSS experiments. For brand-adjacent work, compare the closest named colors before reusing it, because a familiar name can change how stakeholders describe the same swatch. Designers can use it in badges, highlights, product accents, and moments where quick recognition matters. When combined with lighter or darker variants, it gives enough range for borders, fills, and active states.