Recognised as Colour
#A6A242
- #A6A242
- Yellow
- Dark
- Nearest: Dark khaki
#A6A242 is a yellow with RGB values 166, 162, 66 and HSL 58°, 43%, 45%. It is a dark colour, so black text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Dark khaki.
Colour values
#A6A242#A6A242
HEX#A6A242
RGBrgb(166, 162, 66)
RGB (0–1)0.651, 0.6353, 0.2588
RGB percentages65.1%, 63.5%, 25.9%
HSLhsl(57.6, 43.1%, 45.5%)
HSV / HSBhsv(57.6, 60.2%, 65.1%)
CMYK0%, 2.4%, 60.2%, 34.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,920,514
CSS custom property--colour: #A6A242;
Brightness & contrast
Relative luminance0.34341WCAG 2.x, 0 is black and 1 is white
Perceived brightness155.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.87:1
Contrast with white2.67:1WCAG normal text: Fail
Contrast with black7.87:1WCAG normal text: AAA
Greyscale equivalent#9C9C9C
Inverted#595DBD
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.87:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4246A6
Analogous#A67042, #78A642
Triadic#42A6A2, #A242A6
Split complementary#4278A6, #7042A6
Tetradic#42A670, #4246A6, #A64278
Tints, shades & saturation
Channel breakdown
R166
G162
B66
Red166 (65.1%)
Green162 (63.5%)
Blue66 (25.9%)
Hue57.6°
Saturation (HSL)43.1%
Lightness45.49%
Dominant channelRed
Hex per channelR A6 · G A2 · 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