Yellow (RYB) (#FEFE33)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #000000
Contrast vs white: 1.08:1 — vs black: 19.44:1

Color values

  • HEX #FEFE33
  • RGB rgb(254, 254, 51)
  • HSL hsl(60, 79%, 99%)
  • CMYK cmyk( 0, 0, 79.92, 0.39 )

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #FEFE33 based on color theory relationships.

Complementary

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

Yellow (RYB)
#FEFE33 Base
#3333FE
Analogous

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

Yellow (RYB)
#FEFE33 Base
#FE9833
#98FE33
Triadic

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

Yellow (RYB)
#FEFE33 Base
#33FEFE
#FE33FE
Split-Complementary

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

Yellow (RYB)
#FEFE33 Base
#3398FE
#9833FE
Tetradic (Square)

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

Yellow (RYB)
#FEFE33 Base
#33FE98
#3333FE
#FE3398
Monochromatic

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

Yellow (RYB)
#FEFE33 Base
#979701
#E3E301
#FEFE0A
#FEFE5C
#FEFE7F
#FFFFCB
Shades & Tints

Darker shades and lighter tints of Yellow (RYB), generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#191900
#515100
#898901
#C0C001
#F8F801
Yellow (RYB) #FEFE33 Base
#FEFE57
#FEFE7A
#FFFF9E
#FFFFC2
#FFFFE6
CSS & SCSS Snippets

Ready-to-use code snippets for #FEFE33. Click the copy button to copy any snippet to your clipboard.

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

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

/* Border */
.element {
    border: 1px solid #FEFE33;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #FEFE33,
        #FDFDFF
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #FEFE33,
        #FDFDFF
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Yellow (RYB) appears to people with different types of color vision deficiency.

Normal Vision #FEFE33 How the color appears with full color vision.
Deuteranopia #FEFE33 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #FEFE33 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #FFF0F0 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #F6F6F6 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Yellow (RYB) ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Yellow (RYB) #FEFE33 Base
Electric Yellow #FFFF33 ΔE 0.21
Daffodil #FFFF31 ΔE 0.25
Laser Lemon #FEFE22 ΔE 0.71
Lemon Glacier #FDFF00 ΔE 1.40

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.