Recognised as Colour
#AFA717
- #AFA717
- Yellow
- Dark
- Nearest: Olive
#AFA717 is a yellow with RGB values 175, 167, 23 and HSL 57°, 77%, 39%. It is a dark colour, so black text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFA717#AFA717
HEX#AFA717
RGBrgb(175, 167, 23)
RGB (0–1)0.6863, 0.6549, 0.0902
RGB percentages68.6%, 65.5%, 9%
HSLhsl(56.8, 76.8%, 38.8%)
HSV / HSBhsv(56.8, 86.9%, 68.6%)
CMYK0%, 4.6%, 86.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,511,575
CSS custom property--colour: #AFA717;
Brightness & contrast
Relative luminance0.36813WCAG 2.x, 0 is black and 1 is white
Perceived brightness160 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8.36:1
Contrast with white2.51:1WCAG normal text: Fail
Contrast with black8.36:1WCAG normal text: AAA
Greyscale equivalent#9E9E9E
Inverted#5058E8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.51:1WCAG large text: Fail
Contrast with black, large text8.36:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#171FAF
Analogous#AF5B17, #6BAF17
Triadic#17AFA7, #A717AF
Split complementary#176BAF, #5B17AF
Tetradic#17AF5B, #171FAF, #AF176B
Tints, shades & saturation
Channel breakdown
R175
G167
B23
Red175 (68.6%)
Green167 (65.5%)
Blue23 (9%)
Hue56.84°
Saturation (HSL)76.77%
Lightness38.82%
Dominant channelRed
Hex per channelR AF · G A7 · 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