Recognised as Colour
#AFAB1C
- #AFAB1C
- Yellow
- Dark
- Nearest: Olive
#AFAB1C is a yellow with RGB values 175, 171, 28 and HSL 58°, 72%, 40%. 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
#AFAB1C#AFAB1C
HEX#AFAB1C
RGBrgb(175, 171, 28)
RGB (0–1)0.6863, 0.6706, 0.1098
RGB percentages68.6%, 67.1%, 11%
HSLhsl(58.4, 72.4%, 39.8%)
HSV / HSBhsv(58.4, 84%, 68.6%)
CMYK0%, 2.3%, 84%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,512,604
CSS custom property--colour: #AFAB1C;
Brightness & contrast
Relative luminance0.38324WCAG 2.x, 0 is black and 1 is white
Perceived brightness162.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8.66:1
Contrast with white2.42:1WCAG normal text: Fail
Contrast with black8.66:1WCAG normal text: AAA
Greyscale equivalent#A2A2A2
Inverted#5054E3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.42:1WCAG large text: Fail
Contrast with black, large text8.66:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1C20AF
Analogous#AF621C, #69AF1C
Triadic#1CAFAB, #AB1CAF
Split complementary#1C69AF, #621CAF
Tetradic#1CAF62, #1C20AF, #AF1C69
Tints, shades & saturation
Channel breakdown
R175
G171
B28
Red175 (68.6%)
Green171 (67.1%)
Blue28 (11%)
Hue58.37°
Saturation (HSL)72.41%
Lightness39.8%
Dominant channelRed
Hex per channelR AF · G AB · B 1C
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