Recognised as Colour
#AFAC02
- #AFAC02
- Yellow
- Dark
- Nearest: Olive
#AFAC02 is a yellow with RGB values 175, 172, 2 and HSL 59°, 98%, 35%. It is a dark colour, so black text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFAC02#AFAC02
HEX#AFAC02
RGBrgb(175, 172, 2)
RGB (0–1)0.6863, 0.6745, 0.0078
RGB percentages68.6%, 67.5%, 0.8%
HSLhsl(59, 97.7%, 34.7%)
HSV / HSBhsv(59, 98.9%, 68.6%)
CMYK0%, 1.7%, 98.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,512,834
CSS custom property--colour: #AFAC02;
Brightness & contrast
Relative luminance0.38623WCAG 2.x, 0 is black and 1 is white
Perceived brightness162.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8.72:1
Contrast with white2.41:1WCAG normal text: Fail
Contrast with black8.72:1WCAG normal text: AAA
Greyscale equivalent#A0A0A0
Inverted#5053FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.41:1WCAG large text: Fail
Contrast with black, large text8.72:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0205AF
Analogous#AF5602, #5BAF02
Triadic#02AFAC, #AC02AF
Split complementary#025BAF, #5602AF
Tetradic#02AF56, #0205AF, #AF025B
Tints, shades & saturation
Channel breakdown
R175
G172
B2
Red175 (68.6%)
Green172 (67.5%)
Blue2 (0.8%)
Hue58.96°
Saturation (HSL)97.74%
Lightness34.71%
Dominant channelRed
Hex per channelR AF · G AC · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page