#ffdf75
a light, electric yellow · warm · closest name: Khaki
At a glance
Every number on this page in one read: what #ffdf75 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ffdf75 |
| RGB | rgb(255, 223, 117) |
| HSL | hsl(46, 100%, 73%) |
| CMYK | cmyk(0%, 13%, 54%, 0%) |
| LAB | lab(89.5 -1.6 55.4) |
| LCH | lch(89.5 55.4 91.7) |
| OKLCH | oklch(0.909 0.130 92.9) |
| Decimal | 16768885 |
| Display P3 | color(display-p3 1.000 0.875 0.459) |
Copy-ready code
/* CSS */
color: #ffdf75;
background-color: #ffdf75;
/* Tailwind (arbitrary) */
class="text-[#ffdf75] bg-[#ffdf75]"
/* SCSS */
$brand: #ffdf75;
/* SwiftUI */
Color(red: 1.000, green: 0.875, blue: 0.459)
/* Android */
Color.parseColor("#ffdf75")
/* Flutter */
Color(0xFFFFDF75)
/* Python / OpenCV (BGR) */
(117, 223, 255)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ffdf75 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FEFBF1;
--brand-100: #FCF6E3;
--brand-200: #FCEEC0;
--brand-300: #ffdf75;
--brand-400: #FFD857;
--brand-500: #FFCB1F;
--brand-600: #F5BC00;
--brand-700: #CC9D00;
--brand-800: #A37D00;
--brand-900: #765B05;
--brand-950: #493903;
--brand: #ffdf75;
--brand-ink: #000000;
}Colors that work with #ffdf75
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ffdf75
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #7595FF | Directly opposite — maximum tension | |
| Analogous left | #FF9A75 | Neighbour, quieter | |
| Analogous right | #DAFF75 | Neighbour, quieter | |
| Split-complement 1 | #75DAFF | Contrast without the clash | |
| Split-complement 2 | #9A75FF | Contrast without the clash | |
| Triadic 1 | #75FFDF | Even thirds — balanced and loud | |
| Triadic 2 | #DF75FF | Even thirds — balanced and loud | |
| Tetradic | #75FF9A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ffdf75 text on a black background
contrast 16.06:1
#ffdf75 text on a white background
contrast 1.31:1
CSS3 live lab
The quick brown fox
color: #ffdf75;
background-color: #ffdf75;
Glowing headline
text-shadow: 2px 2px 8px #ffdf75;
Soft neon halo
text-shadow: 0 0 14px rgba(255, 223, 117, 0.45);
box-shadow: 0 12px 32px -8px rgba(255, 223, 117, 0.45);
border: 3px solid #ffdf75; background: linear-gradient(135deg, #ffdf75, #C3FF75);
Monochromatic scale
Palettes built from #ffdf75
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Mustard (#ffdb58) — ΔE2000 3.2 away, with its history, psychology and brand usage.
#ffdf75 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#ffdf75, answered
What color is #ffdf75?
#ffdf75 is a light electric yellow, closest to Khaki (ΔE2000 6.3). It sits at 46° on the hue wheel with 100% saturation and 73% lightness, which reads as warm.
What is the RGB value of #ffdf75?
rgb(255, 223, 117) — 255 red, 223 green and 117 blue out of 255, or 100% / 87.5% / 45.9% by channel.
Is #ffdf75 a light or a dark color?
It is a light color. Relative luminance is 0.7532 and perceived brightness is 88%, so black text on it reaches 16.06:1.
Should I use black or white text on #ffdf75?
Black. It scores 16.06:1 against #ffdf75, versus 1.31:1 for white — AAA at any size.
What is the complementary color of #ffdf75?
#7595FF sits directly opposite on the wheel. Softer options are the split-complements #75DAFF and #9A75FF, which give the same contrast with far less vibration.
What colors go well with #ffdf75?
For interface work: #FAF9F4 as the surface, #EDE2C0 for borders, #9B884B for secondary text, #0062CC as an accent and #806200 for hover and pressed states. For a palette, the analogous pair #FF9A75 and #DAFF75 stays calm, while #7595FF is the loudest partner.
What is #ffdf75 in CMYK for printing?
cmyk(0%, 13%, 54%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #ffdf75 warm or cool?
Warm — it scores 13 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FFC175; nudged cooler, #ECFF75.