Recognised as Colour
#A5A102
- #A5A102
- Yellow
- Dark
- Nearest: Olive
#A5A102 is a yellow with RGB values 165, 161, 2 and HSL 59°, 98%, 33%. It is a dark colour, so black text on it reaches 7.7:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#A5A102#A5A102
HEX#A5A102
RGBrgb(165, 161, 2)
RGB (0–1)0.6471, 0.6314, 0.0078
RGB percentages64.7%, 63.1%, 0.8%
HSLhsl(58.5, 97.6%, 32.7%)
HSV / HSBhsv(58.5, 98.8%, 64.7%)
CMYK0%, 2.4%, 98.8%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,854,658
CSS custom property--colour: #A5A102;
Brightness & contrast
Relative luminance0.33493WCAG 2.x, 0 is black and 1 is white
Perceived brightness152.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.7:1
Contrast with white2.73:1WCAG normal text: Fail
Contrast with black7.7:1WCAG normal text: AAA
Greyscale equivalent#969696
Inverted#5A5EFD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.73:1WCAG large text: Fail
Contrast with black, large text7.7:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0206A5
Analogous#A54F02, #58A502
Triadic#02A5A1, #A102A5
Split complementary#0257A5, #5002A5
Tetradic#02A550, #0206A5, #A50257
Tints, shades & saturation
Channel breakdown
R165
G161
B2
Red165 (64.7%)
Green161 (63.1%)
Blue2 (0.8%)
Hue58.53°
Saturation (HSL)97.6%
Lightness32.75%
Dominant channelRed
Hex per channelR A5 · G A1 · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page