yellow

#FFFF00

CSS color

Yellow (#FFFF00) is pure, maximum-intensity yellow in the CSS standard — the complete combination of maximum red and green with zero blue in the RGB model, one of the three additive primary light colours. As the brightest colour perceived by human eyes at any given luminosity, yellow naturally demands attention and is universally associated with sunshine, warmth, caution, and intellectual energy. In design, pure #FFFF00 is often too intense for large areas but provides unmatched visibility for highlights and alerts.

Giá trị màu sắc

HEX

#FFFF00

RGB

255, 255, 0

HSL

60,0, 100,0%, 50,0%

HSV

60,0, 100,0%, 100,0%

CMYK

0,0%, 0,0%, 100,0%, 0,0%

OKLCH

0,968 0,211 109,8

Thuộc tính

Tâm lý màu sắc

Pure yellow is the most luminous color in the spectrum, instantly associated with sunshine, optimism, and alertness. It stimulates the nervous system and enhances concentration, which is why it appears on school buses and warning signs. Yellow demands attention faster than any other color.

Design Usage

Medium yellow is powerful for attention badges, star ratings, and highlight accents in otherwise neutral interfaces. It is one of the hardest colors to use as a primary brand color because of contrast limitations against white. Dark text on yellow achieves strong readability, making it effective for caution banners.

Hòa âm màu sắc

Mô phỏng mù màu

Sử dụng CSS

background-color: #FFFF00;
color: #FFFF00;
border-color: #FFFF00;
Tailwind gần nhất: Yellow 300 #FDE047

Sắc độ Tailwind

Kiểm tra tương phản

Văn bản trên nền trắng

1,07:1

AA Fail AAA Fail

Văn bản trên nền đen

19,56:1

AA Pass AAA Pass

So sánh với

Thuộc các bộ sưu tập này

Bài viết liên quan

Câu hỏi thường gặp

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

RGB(255, 255, 0) · HSL(60,0, 100,0%, 50,0%) · CMYK(0,0%, 0,0%, 100,0%, 0,0%)

Does #FFFF00 meet WCAG contrast on white?

1,07:1 — WCAG AA Không đạt, AAA Không đạt for normal text.

What text color is readable on #FFFF00?

Use 000000 text on a #FFFF00 background; contrast on black is 19,56:1.