Recognised as Colour
#FFD840
- #FFD840
- Yellow
- Light
- Nearest: Gold
#FFD840 is a yellow with RGB values 255, 216, 64 and HSL 48°, 100%, 63%. It is a light colour, so black text on it reaches 15.1:1 contrast (AAA for normal text). The nearest named colour is Gold.
Colour values
#FFD840#FFD840
HEX#FFD840
RGBrgb(255, 216, 64)
RGB (0–1)1, 0.8471, 0.251
RGB percentages100%, 84.7%, 25.1%
HSLhsl(47.7, 100%, 62.5%)
HSV / HSBhsv(47.7, 74.9%, 100%)
CMYK0%, 15.3%, 74.9%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer16,767,040
CSS custom property--colour: #FFD840;
Brightness & contrast
Relative luminance0.70742WCAG 2.x, 0 is black and 1 is white
Perceived brightness217.5 of 255ITU-R BT.601 weighting
Light or darkLight
Best text colour on this backgroundBlackcontrast 15.15:1
Contrast with white1.39:1WCAG normal text: Fail
Contrast with black15.15:1WCAG normal text: AAA
Greyscale equivalent#D5D5D5
Inverted#0027BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text1.39:1WCAG large text: Fail
Contrast with black, large text15.15:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4067FF
Analogous#FF7940, #C6FF40
Triadic#40FFD8, #D840FF
Split complementary#40C7FF, #7940FF
Tetradic#40FF79, #4067FF, #FF40C6
Tints, shades & saturation
Channel breakdown
R255
G216
B64
Red255 (100%)
Green216 (84.7%)
Blue64 (25.1%)
Hue47.75°
Saturation (HSL)100%
Lightness62.55%
Dominant channelRed
Hex per channelR FF · G D8 · B 40
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