Recognised as Colour
#AFA82A
- #AFA82A
- Yellow
- Dark
- Nearest: Olive
#AFA82A is a yellow with RGB values 175, 168, 42 and HSL 57°, 61%, 43%. It is a dark colour, so black text on it reaches 8.5:1 contrast (AAA for normal text). The nearest named colour is Olive.
Colour values
#AFA82A#AFA82A
HEX#AFA82A
RGBrgb(175, 168, 42)
RGB (0–1)0.6863, 0.6588, 0.1647
RGB percentages68.6%, 65.9%, 16.5%
HSLhsl(56.8, 61.3%, 42.5%)
HSV / HSBhsv(56.8, 76%, 68.6%)
CMYK0%, 4%, 76%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,511,850
CSS custom property--colour: #AFA82A;
Brightness & contrast
Relative luminance0.37286WCAG 2.x, 0 is black and 1 is white
Perceived brightness161 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 8.46:1
Contrast with white2.48:1WCAG normal text: Fail
Contrast with black8.46:1WCAG normal text: AAA
Greyscale equivalent#A0A0A0
Inverted#5057D5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.48:1WCAG large text: Fail
Contrast with black, large text8.46:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A31AF
Analogous#AF662A, #73AF2A
Triadic#2AAFA8, #A82AAF
Split complementary#2A73AF, #662AAF
Tetradic#2AAF66, #2A31AF, #AF2A73
Tints, shades & saturation
Channel breakdown
R175
G168
B42
Red175 (68.6%)
Green168 (65.9%)
Blue42 (16.5%)
Hue56.84°
Saturation (HSL)61.29%
Lightness42.55%
Dominant channelRed
Hex per channelR AF · G A8 · B 2A
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