Photo in the color Yellow (RYB)
Pictured: Yellow (RYB), the closest color we have a photo of (#FEFE33)
rgb(255, 255, 51)
#FFFF33

Electric Yellow #FFFF33 RGB Color Code

Web-safe color.

Electric Yellow (#FFFF33) is a vivid, very light yellow. In RGB it is made of 100% red, 100% green and 20% blue (R 255, G 255, B 51). The red channel is the strongest. In HSL it has a hue of 60°, 100% saturation and 60% lightness. Its relative luminance is 0.930, so black text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 0% magenta, 80% yellow and 0% black. Check it against your printer's ICC profile before you print. It is a warm color. It goes well with cool blues and greens for contrast. For a matching look, use nearby warm tones.

Open in color picker

Electric Yellow color codes

#FFFF33 in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #FFFF33 Valid CSS
RGB rgb(255, 255, 51) Valid CSS
HSL hsl(60, 100%, 60%) Valid CSS
HSV / HSB hsv(60, 80%, 100%) Not a CSS format
HWB hwb(60 20% 0%) Valid CSS
CMYK cmyk(0%, 0%, 80%, 0%) Approximate (no ICC profile)
OKLCH oklch(96.91% 0.2005 109.62) Valid CSS
OKLab oklab(96.91% -0.0673 0.1889) Valid CSS
CIELAB lab(97.69% -15.19 86.72) D50, as in CSS
CIELCH lch(97.69% 88.04 99.93) Valid CSS
Display P3 color(display-p3 1 1 0.3805) Valid CSS
XYZ (D65) color(xyz-d65 0.7759 0.9302 0.17) Valid CSS
Decimal 16777011 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.9302. Nearest web-safe color: #FFFF33.

Mix Electric Yellow with other colors

See what #FFFF33 makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Electric Yellow in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--electric-yellow: #FFFF33;
Sass variable$electric-yellow: #FFFF33;
Tailwind CSS v4@theme { --color-electric-yellow: #FFFF33; }
Tailwind CSS v3 configcolors: { 'electric-yellow': '#FFFF33' }
SwiftUIColor(red: 1, green: 1, blue: 0.2)
UIKitUIColor(red: 1, green: 1, blue: 0.2, alpha: 1)
Android XML<color name="electric_yellow">#FFFFFF33</color>
Flutter and Jetpack ComposeColor(0xFFFFFF33)

Accessibility and contrast

Black text works best on #FFFF33 (19.60:1, AAA). Here is how #FFFF33 does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.07:1 on white
APCA Lc 0
Fails AATry #7B7B00
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
19.60:1 on black
APCA Lc -103
AAA

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Electric Yellow

#FFFF33 next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#FFFF33 stays easy to tell apart from its complement and triadic colors for the common types of color blindness. Try your own colors in the color blindness simulator.

About the color Electric Yellow

A name without a standard

Electric yellow has no official definition. The name turns up on online color lists for bright, glowing yellows, and #FFFF33 is one code they give it. We could not find an older or more official source.

How the code is built

#FFFF33 is pure screen yellow, #FFFF00, mixed with 20% white. Each of its values is a multiple of 51, or 33 in hex. That makes it one of the 216 web safe colors of the 1990s.

It is almost the same as yellow (RYB), #FEFE33. Laser lemon is one step paler.

Electric Yellow in a user interface

A sample app screen with #FFFF33 as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #FFFF33 as it is. On the light theme, #FFFF33 is too hard to read as text (1.07:1), so links, the badge and outline text use #7B7B00 there (4.49:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Electric Yellow

These schemes turn the hue of #FFFF33 around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Electric Yellow

Four CSS gradients made from #FFFF33. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #FEFFE8, #FFFF33);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #FFFF33, #484807);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #FF9933, #FFFF33, #99FF33);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #FFFF33, #BCFFBB, #33FFFF);

Edit in the gradient generator

Shades, tints and tones of Electric Yellow

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Electric Yellow sits at step 50. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    FFFF33
  2. 100
    F0F3AB
  3. 200
    E0E27B
  4. 300
    C9C92E
  5. 400
    AAAA00
  6. 500
    8C8C00
  7. 600
    717100
  8. 700
    595900
  9. 800
    464600
  10. 900
    333300
  11. 950
    1F1F00

Closest RAL, Tailwind and CSS colors

The nearest match to #FFFF33 in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of yellow or search the color library.