Recognised as Colour
#AF9E02
- #AF9E02
- Yellow
- Dark
- Nearest: Goldenrod
#AF9E02 is a yellow with RGB values 175, 158, 2 and HSL 54°, 98%, 35%. It is a dark colour, so black text on it reaches 7.7:1 contrast (AAA for normal text). The nearest named colour is Goldenrod.
Colour values
#AF9E02#AF9E02
HEX#AF9E02
RGBrgb(175, 158, 2)
RGB (0–1)0.6863, 0.6196, 0.0078
RGB percentages68.6%, 62%, 0.8%
HSLhsl(54.1, 97.7%, 34.7%)
HSV / HSBhsv(54.1, 98.9%, 68.6%)
CMYK0%, 9.7%, 98.9%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,509,250
CSS custom property--colour: #AF9E02;
Brightness & contrast
Relative luminance0.33572WCAG 2.x, 0 is black and 1 is white
Perceived brightness154.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.71:1
Contrast with white2.72:1WCAG normal text: Fail
Contrast with black7.71:1WCAG normal text: AAA
Greyscale equivalent#969696
Inverted#5061FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.72:1WCAG large text: Fail
Contrast with black, large text7.71:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0213AF
Analogous#AF4802, #6AAF02
Triadic#02AF9E, #9E02AF
Split complementary#026AAF, #4702AF
Tetradic#02AF47, #0213AF, #AF026A
Tints, shades & saturation
Channel breakdown
R175
G158
B2
Red175 (68.6%)
Green158 (62%)
Blue2 (0.8%)
Hue54.1°
Saturation (HSL)97.74%
Lightness34.71%
Dominant channelRed
Hex per channelR AF · G 9E · B 02
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