Recognised as Colour
#AFBA02
- #AFBA02
- Yellow
- Dark
- Nearest: Yellow green
#AFBA02 is a yellow with RGB values 175, 186, 2 and HSL 64°, 98%, 37%. It is a dark colour, so black text on it reaches 9.8:1 contrast (AAA for normal text). The nearest named colour is Yellow green.
Colour values
#AFBA02#AFBA02
HEX#AFBA02
RGBrgb(175, 186, 2)
RGB (0–1)0.6863, 0.7294, 0.0078
RGB percentages68.6%, 72.9%, 0.8%
HSLhsl(63.6, 97.9%, 36.9%)
HSV / HSBhsv(63.6, 98.9%, 72.9%)
CMYK5.9%, 0%, 98.9%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,516,418
CSS custom property--colour: #AFBA02;
Brightness & contrast
Relative luminance0.44236WCAG 2.x, 0 is black and 1 is white
Perceived brightness171.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.85:1
Contrast with white2.13:1WCAG normal text: Fail
Contrast with black9.85:1WCAG normal text: AAA
Greyscale equivalent#AAAAAA
Inverted#5045FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.13:1WCAG large text: Fail
Contrast with black, large text9.85:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0D02BA
Analogous#BA6902, #53BA02
Triadic#02AFBA, #BA02AF
Split complementary#0253BA, #6902BA
Tetradic#02BA69, #0D02BA, #BA0253
Tints, shades & saturation
Channel breakdown
R175
G186
B2
Red175 (68.6%)
Green186 (72.9%)
Blue2 (0.8%)
Hue63.59°
Saturation (HSL)97.87%
Lightness36.86%
Dominant channelGreen
Hex per channelR AF · G BA · 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