#FFDF33 color codes
- HEX
- #FFDF33
- HEX8
- #FFDF33FF
- HEX8 (Android)
- #FFFFDF33
- RGB
- rgb(255, 223, 51)
- RGB (%)
- 100%, 87%, 20%
- HSL
- hsl(51, 100%, 60%)
- HSV / HSB
- hsv(51, 80%, 100%)
- CMYK
- cmyk(0%, 13%, 80%, 0%)
- OKLCH
- oklch(0.9039 0.1752 97.74)
- OKLCH (%)
- oklch(90.39% 0.1752 97.74)
- Decimal
- 16768819
What color is #FFDF33?
#FFDF33 sits at 90% lightness and 0.1752 chroma in OKLCH, hue 97.74°. Its nearest named color is Gold.
Shades and tints of #FFDF33
Tints
Shades
Tones
#FFDF33 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #FFDF33 in CSS
.text { color: #FFDF33; }
.background { background-color: #FFDF33; }
.border { border: 2px solid #FFDF33; }
/* Modern, perceptually uniform */
.text { color: oklch(0.9039 0.1752 97.74); }
/* #FFDF33 at 50% transparency */
.overlay { background-color: #FFDF3380; }Is #FFDF33 accessible?
#FFDF33 on white text scores 1.32:1; on black text it scores 15.85:1. Black text passes WCAG AAA on #FFDF33. Recommended text color on a #FFDF33 background: black.
A 15.85:1 vs black
A 1.32: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(#FFDF33) → black APCA Lc experimental 87.8 Lc · body text (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 #FFDF33?
- #FFDF33 is closest to Gold. In RGB it is rgb(255, 223, 51), and in HSL hsl(51, 100%, 60%).
- What is #FFDF33 in RGB?
- #FFDF33 converts to rgb(255, 223, 51) — red 255, green 223, blue 51.
- What text color is readable on #FFDF33?
- Black text — it has the higher contrast ratio (15.85:1) against #FFDF33. Black text passes WCAG AAA on #FFDF33.