#FFFF66 color codes
- HEX
- #FFFF66
- HEX8
- #FFFF66FF
- HEX8 (Android)
- #FFFFFF66
- RGB
- rgb(255, 255, 102)
- RGB (%)
- 100%, 100%, 40%
- HSL
- hsl(60, 100%, 70%)
- HSV / HSB
- hsv(60, 60%, 100%)
- CMYK
- cmyk(0%, 0%, 60%, 0%)
- OKLCH
- oklch(0.9723 0.1713 109.2)
- OKLCH (%)
- oklch(97.23% 0.1713 109.2)
- Decimal
- 16777062
What color is #FFFF66?
#FFFF66 sits at 97% lightness and 0.1713 chroma in OKLCH, hue 109.2°. Its nearest named color is Yellow.
Shades and tints of #FFFF66
Tints
Shades
Tones
#FFFF66 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #FFFF66 in CSS
.text { color: #FFFF66; }
.background { background-color: #FFFF66; }
.border { border: 2px solid #FFFF66; }
/* Modern, perceptually uniform */
.text { color: oklch(0.9723 0.1713 109.2); }
/* #FFFF66 at 50% transparency */
.overlay { background-color: #FFFF6680; }Is #FFFF66 accessible?
#FFFF66 on white text scores 1.06:1; on black text it scores 19.75:1. Black text passes WCAG AAA on #FFFF66. Recommended text color on a #FFFF66 background: black.
A 19.75:1 vs black
A 1.06: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(#FFFF66) → black APCA Lc experimental 101.9 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: Gold #FFD700. See more in the yellow family on the colors hub.
Frequently asked questions
- What color is #FFFF66?
- #FFFF66 is closest to Yellow. In RGB it is rgb(255, 255, 102), and in HSL hsl(60, 100%, 70%).
- What is #FFFF66 in RGB?
- #FFFF66 converts to rgb(255, 255, 102) — red 255, green 255, blue 102.
- What text color is readable on #FFFF66?
- Black text — it has the higher contrast ratio (19.75:1) against #FFFF66. Black text passes WCAG AAA on #FFFF66.