#faff0b
a balanced, electric yellow · warm · closest name: Yellow
At a glance
Every number on this page in one read: what #faff0b 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 | #faff0b |
| RGB | rgb(250, 255, 11) |
| HSL | hsl(61, 100%, 52%) |
| CMYK | cmyk(2%, 0%, 96%, 0%) |
| LAB | lab(96.8 -23.5 93.3) |
| LCH | lch(96.8 96.2 104.2) |
| OKLCH | oklch(0.964 0.211 111.2) |
| Decimal | 16449291 |
| Display P3 | color(display-p3 0.980 1.000 0.043) |
Copy-ready code
/* CSS */
color: #faff0b;
background-color: #faff0b;
/* Tailwind (arbitrary) */
class="text-[#faff0b] bg-[#faff0b]"
/* SCSS */
$brand: #faff0b;
/* SwiftUI */
Color(red: 0.980, green: 1.000, blue: 0.043)
/* Android */
Color.parseColor("#faff0b")
/* Flutter */
Color(0xFFFAFF0B)
/* Python / OpenCV (BGR) */
(11, 255, 250)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. #faff0b is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDFEF1;
--brand-100: #FCFCE3;
--brand-200: #FAFCC0;
--brand-300: #FDFF8F;
--brand-400: #FCFF57;
--brand-500: #faff0b;
--brand-600: #F0F500;
--brand-700: #C8CC00;
--brand-800: #A0A300;
--brand-900: #737605;
--brand-950: #484903;
--brand: #faff0b;
--brand-ink: #000000;
}Colors that work with #faff0b
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 #faff0b
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
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #100BFF | Directly opposite — maximum tension | |
| Analogous left | #FF8A0B | Neighbour, quieter | |
| Analogous right | #80FF0B | Neighbour, quieter | |
| Split-complement 1 | #0B80FF | Contrast without the clash | |
| Split-complement 2 | #8A0BFF | Contrast without the clash | |
| Triadic 1 | #0BFAFF | Even thirds — balanced and loud | |
| Triadic 2 | #FF0BFA | Even thirds — balanced and loud | |
| Tetradic | #0BFF8A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#faff0b text on a black background
contrast 19.37:1
#faff0b text on a white background
contrast 1.08:1
CSS3 live lab
The quick brown fox
color: #faff0b;
background-color: #faff0b;
Glowing headline
text-shadow: 2px 2px 8px #faff0b;
Soft neon halo
text-shadow: 0 0 14px rgba(250, 255, 11, 0.45);
box-shadow: 0 12px 32px -8px rgba(250, 255, 11, 0.45);
border: 3px solid #faff0b; background: linear-gradient(135deg, #faff0b, #58FF0B);
Monochromatic scale
Palettes built from #faff0b
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: Yellow (#ffff00) — ΔE2000 1.1 away, with its history, psychology and brand usage.
#faff0b 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.
#faff0b, answered
What color is #faff0b?
#faff0b is a balanced electric yellow, closest to Yellow (ΔE2000 1.1). It sits at 61° on the hue wheel with 100% saturation and 52% lightness, which reads as warm.
What is the RGB value of #faff0b?
rgb(250, 255, 11) — 250 red, 255 green and 11 blue out of 255, or 98% / 100% / 4.3% by channel.
Is #faff0b a light or a dark color?
It is a light color. Relative luminance is 0.9187 and perceived brightness is 94%, so black text on it reaches 19.37:1.
Should I use black or white text on #faff0b?
Black. It scores 19.37:1 against #faff0b, versus 1.08:1 for white — AAA at any size.
What is the complementary color of #faff0b?
#100BFF sits directly opposite on the wheel. Softer options are the split-complements #0B80FF and #8A0BFF, which give the same contrast with far less vibration.
What colors go well with #faff0b?
For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #999B4B for secondary text, #0B43FF as an accent and #7D8000 for hover and pressed states. For a palette, the analogous pair #FF8A0B and #80FF0B stays calm, while #100BFF is the loudest partner.
What is #faff0b in CMYK for printing?
cmyk(2%, 0%, 96%, 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 #faff0b warm or cool?
Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FFBD0B; nudged cooler, #A1FF0B.