Recognised as Colour
#D5A802
- #D5A802
- Yellow
- Dark
- Nearest: Goldenrod
#D5A802 is a yellow with RGB values 213, 168, 2 and HSL 47°, 98%, 42%. It is a dark colour, so black text on it reaches 9.4:1 contrast (AAA for normal text). The nearest named colour is Goldenrod.
Colour values
#D5A802#D5A802
HEX#D5A802
RGBrgb(213, 168, 2)
RGB (0–1)0.8353, 0.6588, 0.0078
RGB percentages83.5%, 65.9%, 0.8%
HSLhsl(47.2, 98.1%, 42.2%)
HSV / HSBhsv(47.2, 99.1%, 83.5%)
CMYK0%, 21.1%, 99.1%, 16.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,002,178
CSS custom property--colour: #D5A802;
Brightness & contrast
Relative luminance0.42156WCAG 2.x, 0 is black and 1 is white
Perceived brightness173.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 9.43:1
Contrast with white2.23:1WCAG normal text: Fail
Contrast with black9.43:1WCAG normal text: AAA
Greyscale equivalent#A6A6A6
Inverted#2A57FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.23:1WCAG large text: Fail
Contrast with black, large text9.43:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#022FD5
Analogous#D53E02, #99D502
Triadic#02D5A8, #A802D5
Split complementary#0298D5, #3F02D5
Tetradic#02D53E, #022FD5, #D50298
Tints, shades & saturation
Channel breakdown
R213
G168
B2
Red213 (83.5%)
Green168 (65.9%)
Blue2 (0.8%)
Hue47.2°
Saturation (HSL)98.14%
Lightness42.16%
Dominant channelRed
Hex per channelR D5 · G A8 · 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