#FFFF00

#FFFF00 is the hex color Yellow. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #FFFF00; the exact match is Yellow.

Open #FFFF00 in the picker

#FFFF00 color codes

HEX
#FFFF00
HEX8
#FFFF00FF
HEX8 (Android)
#FFFFFF00
RGB
rgb(255, 255, 0)
RGB (%)
100%, 100%, 0%
HSL
hsl(60, 100%, 50%)
HSV / HSB
hsv(60, 100%, 100%)
CMYK
cmyk(0%, 0%, 100%, 0%)
OKLCH
oklch(0.968 0.211 109.77)
OKLCH (%)
oklch(96.8% 0.211 109.77)
Decimal
16776960

What color is #FFFF00?

#FFFF00 sits at 97% lightness and 0.211 chroma in OKLCH, hue 109.77°. Its nearest named color is Yellow (an exact match).

Shades and tints of #FFFF00

Tints

Shades

Tones

#FFFF00 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #FFFF00 in CSS

.text       { color: #FFFF00; }
.background { background-color: #FFFF00; }
.border     { border: 2px solid #FFFF00; }

/* Modern, perceptually uniform */
.text { color: oklch(0.968 0.211 109.77); }

/* #FFFF00 at 50% transparency */
.overlay { background-color: #FFFF0080; }

Is #FFFF00 accessible?

#FFFF00 on white text scores 1.07:1; on black text it scores 19.56:1. Black text passes WCAG AAA on #FFFF00. Recommended text color on a #FFFF00 background: black.

A 19.56:1 vs black
A 1.07:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#FFFF00) → black
APCA Lc experimental 101.4 Lc · body text — preferred (black text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Yellow #FFFF00. See more in the yellow family on the colors hub.

Frequently asked questions

What color is #FFFF00?
#FFFF00 is Yellow. In RGB it is rgb(255, 255, 0), and in HSL hsl(60, 100%, 50%).
What is #FFFF00 in RGB?
#FFFF00 converts to rgb(255, 255, 0) — red 255, green 255, blue 0.
What text color is readable on #FFFF00?
Black text — it has the higher contrast ratio (19.56:1) against #FFFF00. Black text passes WCAG AAA on #FFFF00.
Open #FFFF00 in the picker