Recognised as Colour
#D5C702
- #D5C702
- Yellow
- Light
- Nearest: Gold
#D5C702 is a yellow with RGB values 213, 199, 2 and HSL 56°, 98%, 42%. It is a light colour, so black text on it reaches 12:1 contrast (AAA for normal text). The nearest named colour is Gold.
Colour values
#D5C702#D5C702
HEX#D5C702
RGBrgb(213, 199, 2)
RGB (0–1)0.8353, 0.7804, 0.0078
RGB percentages83.5%, 78%, 0.8%
HSLhsl(56, 98.1%, 42.2%)
HSV / HSBhsv(56, 99.1%, 83.5%)
CMYK0%, 6.6%, 99.1%, 16.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,010,114
CSS custom property--colour: #D5C702;
Brightness & contrast
Relative luminance0.54997WCAG 2.x, 0 is black and 1 is white
Perceived brightness191.9 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 12:1
Contrast with white1.75:1WCAG normal text: Fail
Contrast with black12:1WCAG normal text: AAA
Greyscale equivalent#BCBCBC
Inverted#2A38FD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.75:1WCAG large text: Fail
Contrast with black, large text12:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0210D5
Analogous#D55D02, #7AD502
Triadic#02D5C7, #C702D5
Split complementary#027AD5, #5D02D5
Tetradic#02D55E, #0210D5, #D5027A
Tints, shades & saturation
Channel breakdown
R213
G199
B2
Red213 (83.5%)
Green199 (78%)
Blue2 (0.8%)
Hue56.02°
Saturation (HSL)98.14%
Lightness42.16%
Dominant channelRed
Hex per channelR D5 · G C7 · 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