Recognised as Colour
#AFA212
- #AFA212
- Yellow
- Dark
- Nearest: Olive
#AFA212 is a yellow with RGB values 175, 162, 18 and HSL 55°, 81%, 38%. It is a dark colour, so black text on it reaches 8:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFA212#AFA212
HEX#AFA212
RGBrgb(175, 162, 18)
RGB (0–1)0.6863, 0.6353, 0.0706
RGB percentages68.6%, 63.5%, 7.1%
HSLhsl(55, 81.3%, 37.8%)
HSV / HSBhsv(55, 89.7%, 68.6%)
CMYK0%, 7.4%, 89.7%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,510,290
CSS custom property--colour: #AFA212;
Brightness & contrast
Relative luminance0.34998WCAG 2.x, 0 is black and 1 is white
Perceived brightness156.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8:1
Contrast with white2.63:1WCAG normal text: Fail
Contrast with black8:1WCAG normal text: AAA
Greyscale equivalent#9A9A9A
Inverted#505DED
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.63:1WCAG large text: Fail
Contrast with black, large text8:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#121FAF
Analogous#AF5312, #6DAF12
Triadic#12AFA2, #A212AF
Split complementary#126DAF, #5412AF
Tetradic#12AF54, #121FAF, #AF126D
Tints, shades & saturation
Channel breakdown
R175
G162
B18
Red175 (68.6%)
Green162 (63.5%)
Blue18 (7.1%)
Hue55.03°
Saturation (HSL)81.35%
Lightness37.84%
Dominant channelRed
Hex per channelR AF · G A2 · 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