Recognised as Colour
#A5B512
- #A5B512
- Yellow
- Dark
- Nearest: Yellow green
#A5B512 is a yellow with RGB values 165, 181, 18 and HSL 66°, 82%, 39%. It is a dark colour, so black text on it reaches 9.2:1 contrast (AAA for normal text). The nearest named colour is Yellow green.
Colour values
#A5B512#A5B512
HEX#A5B512
RGBrgb(165, 181, 18)
RGB (0–1)0.6471, 0.7098, 0.0706
RGB percentages64.7%, 71%, 7.1%
HSLhsl(65.9, 81.9%, 39%)
HSV / HSBhsv(65.9, 90.1%, 71%)
CMYK8.8%, 0%, 90.1%, 29%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,859,794
CSS custom property--colour: #A5B512;
Brightness & contrast
Relative luminance0.41091WCAG 2.x, 0 is black and 1 is white
Perceived brightness165.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.22:1
Contrast with white2.28:1WCAG normal text: Fail
Contrast with black9.22:1WCAG normal text: AAA
Greyscale equivalent#A6A6A6
Inverted#5A4AED
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.28:1WCAG large text: Fail
Contrast with black, large text9.22:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2212B5
Analogous#B57412, #54B512
Triadic#12A5B5, #B512A5
Split complementary#1254B5, #7412B5
Tetradic#12B574, #2212B5, #B51253
Tints, shades & saturation
Channel breakdown
R165
G181
B18
Red165 (64.7%)
Green181 (71%)
Blue18 (7.1%)
Hue65.89°
Saturation (HSL)81.91%
Lightness39.02%
Dominant channelGreen
Hex per channelR A5 · G B5 · B 12
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