Yellow (RYB)

HEX: #FEFE33 | Modern Palette

On White
1.08:1
FAIL
On Black
19.44:1
PASS

Color Specifications

HEX
#FEFE33
RGB
254, 254, 51
HSL
60°, 79% ,99%
CMYK
0, 0, 79.92, 0.39

About Yellow (RYB)

Yellow (RYB) (#FEFE33) is a color with RGB(254, 254, 51) and HSL(60°, 79.92%, 99.61%). It is commonly associated with Playful moods. In design, it fits Warm styles and is suitable for Text, Button, Background. Its complementary color is #3333FE, which creates strong contrast. Its triadic palette includes #33FEFE and #FE33FE.

  • HEX: #FEFE33
  • RGB: 254, 254, 51
  • HSL: 60°, 79.92%, 99.61%
  • Mood: Playful
  • Style: Warm
  • Use case: Text, Button, Background
  • Complementary color: #3333FE
  • Triadic colors: #33FEFE, #FE33FE

Live Components

LIGHT
DARK
System Notification Box

Color Palettes

Monochromatic Five tones of the same hue — a reliable scale for backgrounds, surfaces, and text.
Neutral + Accent Four near-neutral tones grounded by a saturated accent — clean and versatile for UI.
Analogous Five hues drifting across a 60° arc — naturally harmonious and pleasing to the eye.
3 + 1 + 1 Three analogous base colors, one complementary accent, one dark anchor — bold yet balanced.

Color Harmonies

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Shades & Tints

A seamless scale of #FEFE33 from deepest shade to lightest tint.

Color Characteristics

Mood
Playful
Style
Warm

Accessibility Simulation

Deuteranopia #FEFE33
Protanopia #FEFE33
Tritanopia #FFF0F0
Achromatopsia #F6F6F6

Frequently Asked Questions

Yellow (RYB) (#FEFE33) is a color with RGB(254, 254, 51) and HSL(60°, 79.92%, 99.61%).

#FEFE33 pairs strongly with #3333FE as its complementary color. It can also be used with neutral tones for balanced UI and design layouts.

#FEFE33 is suitable for Text, Button, Background and works well with Warm styles.

#FEFE33 is commonly associated with Playful.

Similar Named Colors

Electric Yellow #FFFF33 ΔE 0.21
Daffodil #FFFF31 ΔE 0.25
Laser Lemon #FEFE22 ΔE 0.71
Lemon Glacier #FDFF00 ΔE 1.40

Code Snippets

/* Background */
.element {
    background-color: #FEFE33;
}

/* Text */
.element {
    color: #FEFE33;
}

/* Border */
.element {
    border: 1px solid #FEFE33;
}

/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #FEFE33,
        #FDFDFF
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #FEFE33,
        #FDFDFF
    );
}

// SCSS variable
$yellow-(ryb): #FEFE33;

// With RGB channels (useful for rgba() usage)
$yellow-(ryb)-r: 254;
$yellow-(ryb)-g: 254;
$yellow-(ryb)-b: 51;

// Usage
.element {
    background-color: $yellow-(ryb);
    color: rgba($yellow-(ryb)-r, $yellow-(ryb)-g, $yellow-(ryb)-b, 0.8);
}