Recognised as Colour
#AFA942
- #AFA942
- Yellow
- Dark
- Nearest: Dark khaki
#AFA942 is a yellow with RGB values 175, 169, 66 and HSL 57°, 45%, 47%. It is a dark colour, so black text on it reaches 8.6:1 contrast (AAA for normal text). The nearest named colour is Dark khaki.
Colour values
#AFA942#AFA942
HEX#AFA942
RGBrgb(175, 169, 66)
RGB (0–1)0.6863, 0.6627, 0.2588
RGB percentages68.6%, 66.3%, 25.9%
HSLhsl(56.7, 45.2%, 47.3%)
HSV / HSBhsv(56.7, 62.3%, 68.6%)
CMYK0%, 3.4%, 62.3%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,512,130
CSS custom property--colour: #AFA942;
Brightness & contrast
Relative luminance0.37883WCAG 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.58:1
Contrast with white2.45:1WCAG normal text: Fail
Contrast with black8.58:1WCAG normal text: AAA
Greyscale equivalent#A3A3A3
Inverted#5056BD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.45:1WCAG large text: Fail
Contrast with black, large text8.58:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4248AF
Analogous#AF7242, #7FAF42
Triadic#42AFA9, #A942AF
Split complementary#427FAF, #7242AF
Tetradic#42AF72, #4248AF, #AF427F
Tints, shades & saturation
Channel breakdown
R175
G169
B66
Red175 (68.6%)
Green169 (66.3%)
Blue66 (25.9%)
Hue56.7°
Saturation (HSL)45.23%
Lightness47.25%
Dominant channelRed
Hex per channelR AF · G A9 · B 42
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