Recognised as Colour
#AFA005
- #AFA005
- Yellow
- Dark
- Nearest: Olive
#AFA005 is a yellow with RGB values 175, 160, 5 and HSL 55°, 94%, 35%. It is a dark colour, so black text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFA005#AFA005
HEX#AFA005
RGBrgb(175, 160, 5)
RGB (0–1)0.6863, 0.6275, 0.0196
RGB percentages68.6%, 62.7%, 2%
HSLhsl(54.7, 94.4%, 35.3%)
HSV / HSBhsv(54.7, 97.1%, 68.6%)
CMYK0%, 8.6%, 97.1%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,509,765
CSS custom property--colour: #AFA005;
Brightness & contrast
Relative luminance0.34267WCAG 2.x, 0 is black and 1 is white
Perceived brightness155.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.85:1
Contrast with white2.67:1WCAG normal text: Fail
Contrast with black7.85:1WCAG normal text: AAA
Greyscale equivalent#989898
Inverted#505FFA
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.67:1WCAG large text: Fail
Contrast with black, large text7.85:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0514AF
Analogous#AF4B05, #69AF05
Triadic#05AFA0, #A005AF
Split complementary#0569AF, #4B05AF
Tetradic#05AF4B, #0514AF, #AF0569
Tints, shades & saturation
Channel breakdown
R175
G160
B5
Red175 (68.6%)
Green160 (62.7%)
Blue5 (2%)
Hue54.71°
Saturation (HSL)94.44%
Lightness35.29%
Dominant channelRed
Hex per channelR AF · G A0 · B 05
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