Nerdulator> put something in

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

Protanopia#AF9C37no red cones; affects about 1% of men; ΔE 7.7 from the original
Deuteranopia#B1A047no green cones; the most common form, about 1% of men; ΔE 6.4 from the original
Tritanopia#B1988Dno blue cones; rare, and affects men and women equally; ΔE 44.1 from the original
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

Nearest named CSS colourDark khaki (#BDB76B)ΔE 13.01, a distinctly different colour
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

Lighter +40%#EAE9CA
Lighter +30%#DBD9A6
Lighter +20%#CDCA81
Lighter +10%#BEBB5D
Darker −10%#827E33
Darker −20%#5D5B25
Darker −30%#393716
Darker −40%#141408
More saturated +25%#C3BD25
Less saturated −25%#89875F

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

Every value on this page was computed from “a6a242” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.