Lemon color: hex code #FFF700

#FFF700 rgb(255, 247, 0)
Shades of yellow

Lemon has the hex code #FFF700. It is a vivid yellow.

In the RGB color model it is made of 100% red, 96.9% green and 0% blue (255, 247, 0).

Its hue angle is 58°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 100% yellow and 0% black.

Black text is the more readable choice on this background (contrast 18.56:1).

Lemon (#FFF700) color codes

HEX#FFF700
RGBrgb(255, 247, 0)
RGB percentrgb(100%, 96.9%, 0%)
HSLhsl(58, 100%, 50%)
HSV / HSBhsv(58, 100%, 100%)
CMYKcmyk(0%, 3%, 100%, 0%)
CIE LABlab(95.07, -17.73, 92.97)
CIE LCHlch(95.07, 94.64, 100.8)
CIE XYZxyz(74.504, 87.784, 13.02)
Decimal16774912
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Lemon, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #FFF700RatioAAAAAAA large
Sample text18.56:1PassPassPass
Sample text1.13:1FailFailFail
#FFF700 as text onRatioAAAAAAA large
Sample text1.13:1FailFailFail
Sample text18.56:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #FFF700 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #fff700; }
.text { color: #fff700; }
.border { border: 2px solid #fff700; }
.transparent { background-color: rgb(255 247 0 / 50%); }
.gradient { background: linear-gradient(to right, #fff700, #87ff00); }
Background
Text color
Border

Similar colors

See #FFF700 on its hex code page

Questions

What color is #FFF700?
#FFF700 is a vivid yellow known as Lemon. It belongs to the yellow family of colors.
What is the RGB value of Lemon?
The RGB value is 255, 247, 0: 255 red, 247 green and 0 blue on a 0 to 255 scale.
What is the complementary color of Lemon?
The complementary color is #0008FF, found by rotating the hue 180° on the color wheel.
Is black or white text better on #FFF700?
Black text. Black text has a contrast ratio of 18.56:1 and white text 1.13:1. WCAG asks for at least 4.5:1 for normal text.