Skip to main content

#FFFF00 Yellow

#FFFF00 is Yellow.

#FFFF00

Yellow

What are the RGB, HSL, OKLCH and CMYK values of #FFFF00?

HEX
#FFFF00
RGB
rgb(255, 255, 0)
HSL
hsl(60, 100%, 50%)
OKLCH
oklch(96.8% 0.211 110)
CMYK
0, 0, 100, 0

#FFFF00 has a contrast ratio of 1.07:1 against white and 19.56:1 against black, so black is the better background for text in this color and dark text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #FFFF00
#FFFF00
Same color
White
1.1Fail
Near-black
16.3AAA

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • Near-black on #FFFF00 · 16.3:1

Tints and shades of #FFFF00

Same hue and chroma in OKLCH, lighter to darker.

  1. #FFFF00
  2. #DFDF00
  3. #BFBF00
  4. #9F9F00
  5. #818100
  6. #646400
  7. #494900
  8. #2F2F00
  9. #171700

Colors that go with #FFFF00

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. Yellow, #FFFF00 and Chartreuse, #94FF29 become hard to tell apart — don't rely on color alone to separate them.

Export

Copy-paste code, or download the swatches.

:root {
  --yellow-1: #FFFF00; /* Yellow */
}

Palettes, gradients and meshes with #FFFF00

Items using this color or one perceptually close to it, closest first.

Palettes (2)

Gradients (1)