Recognised as Colour
#AFA517
- #AFA517
- Yellow
- Dark
- Nearest: Olive
#AFA517 is a yellow with RGB values 175, 165, 23 and HSL 56°, 77%, 39%. It is a dark colour, so black text on it reaches 8.2:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFA517#AFA517
HEX#AFA517
RGBrgb(175, 165, 23)
RGB (0–1)0.6863, 0.6471, 0.0902
RGB percentages68.6%, 64.7%, 9%
HSLhsl(56.1, 76.8%, 38.8%)
HSV / HSBhsv(56.1, 86.9%, 68.6%)
CMYK0%, 5.7%, 86.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,511,063
CSS custom property--colour: #AFA517;
Brightness & contrast
Relative luminance0.36086WCAG 2.x, 0 is black and 1 is white
Perceived brightness158.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8.22:1
Contrast with white2.56:1WCAG normal text: Fail
Contrast with black8.22:1WCAG normal text: AAA
Greyscale equivalent#9D9D9D
Inverted#505AE8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.56:1WCAG large text: Fail
Contrast with black, large text8.22:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1721AF
Analogous#AF5917, #6DAF17
Triadic#17AFA5, #A517AF
Split complementary#176DAF, #5917AF
Tetradic#17AF59, #1721AF, #AF176D
Tints, shades & saturation
Channel breakdown
R175
G165
B23
Red175 (68.6%)
Green165 (64.7%)
Blue23 (9%)
Hue56.05°
Saturation (HSL)76.77%
Lightness38.82%
Dominant channelRed
Hex per channelR AF · G A5 · B 17
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