Recognised as Colour
#FFD502
- #FFD502
- Yellow
- Light
- Nearest: Gold
#FFD502 is a yellow with RGB values 255, 213, 2 and HSL 50°, 100%, 50%. It is a light colour, so black text on it reaches 14.8:1 contrast (AAA for normal text). The nearest named colour is Gold.
Colour values
#FFD502#FFD502
HEX#FFD502
RGBrgb(255, 213, 2)
RGB (0–1)1, 0.8353, 0.0078
RGB percentages100%, 83.5%, 0.8%
HSLhsl(50, 100%, 50.4%)
HSV / HSBhsv(50, 99.2%, 100%)
CMYK0%, 16.5%, 99.2%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,766,210
CSS custom property--colour: #FFD502;
Brightness & contrast
Relative luminance0.68853WCAG 2.x, 0 is black and 1 is white
Perceived brightness214.6 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 14.77:1
Contrast with white1.42:1WCAG normal text: Fail
Contrast with black14.77:1WCAG normal text: AAA
Greyscale equivalent#CFCFCF
Inverted#002AFD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.42:1WCAG large text: Fail
Contrast with black, large text14.77:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#022CFF
Analogous#FF5702, #AAFF02
Triadic#02FFD5, #D502FF
Split complementary#02AAFF, #5702FF
Tetradic#02FF57, #022CFF, #FF02AB
Tints, shades & saturation
Channel breakdown
R255
G213
B2
Red255 (100%)
Green213 (83.5%)
Blue2 (0.8%)
Hue50.04°
Saturation (HSL)100%
Lightness50.39%
Dominant channelRed
Hex per channelR FF · G D5 · 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