#f6fd8b
a light, electric yellow · warm · closest name: Khaki
At a glance
Every number on this page in one read: what #f6fd8b 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 | #f6fd8b |
| RGB | rgb(246, 253, 139) |
| HSL | hsl(64, 97%, 77%) |
| CMYK | cmyk(3%, 0%, 45%, 1%) |
| LAB | lab(96.7 -18.1 53.5) |
| LCH | lch(96.7 56.4 108.7) |
| OKLCH | oklch(0.965 0.138 111.8) |
| Decimal | 16186763 |
| Display P3 | color(display-p3 0.965 0.992 0.545) |
Copy-ready code
/* CSS */
color: #f6fd8b;
background-color: #f6fd8b;
/* Tailwind (arbitrary) */
class="text-[#f6fd8b] bg-[#f6fd8b]"
/* SCSS */
$brand: #f6fd8b;
/* SwiftUI */
Color(red: 0.965, green: 0.992, blue: 0.545)
/* Android */
Color.parseColor("#f6fd8b")
/* Flutter */
Color(0xFFF6FD8B)
/* Python / OpenCV (BGR) */
(139, 253, 246)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. #f6fd8b 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: #FDFDF1;
--brand-100: #FAFCE4;
--brand-200: #F7FBC1;
--brand-300: #f6fd8b;
--brand-400: #F2FC5A;
--brand-500: #EEFB22;
--brand-600: #E2F104;
--brand-700: #BCC903;
--brand-800: #97A003;
--brand-900: #6D7407;
--brand-950: #444804;
--brand: #f6fd8b;
--brand-ink: #000000;
}Colors that work with #f6fd8b
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 #f6fd8b
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 | #928BFD | Directly opposite — maximum tension | |
| Analogous left | #FDCB8B | Neighbour, quieter | |
| Analogous right | #BDFD8B | Neighbour, quieter | |
| Split-complement 1 | #8BBDFD | Contrast without the clash | |
| Split-complement 2 | #CB8BFD | Contrast without the clash | |
| Triadic 1 | #8BF6FD | Even thirds — balanced and loud | |
| Triadic 2 | #FD8BF6 | Even thirds — balanced and loud | |
| Tetradic | #8BFDCB | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#f6fd8b text on a black background
contrast 19.34:1
#f6fd8b text on a white background
contrast 1.09:1
CSS3 live lab
The quick brown fox
color: #f6fd8b;
background-color: #f6fd8b;
Glowing headline
text-shadow: 2px 2px 8px #f6fd8b;
Soft neon halo
text-shadow: 0 0 14px rgba(246, 253, 139, 0.45);
box-shadow: 0 12px 32px -8px rgba(246, 253, 139, 0.45);
border: 3px solid #f6fd8b; background: linear-gradient(135deg, #f6fd8b, #AAFD8B);
Monochromatic scale
Palettes built from #f6fd8b
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 9.9 away, with its history, psychology and brand usage.
#f6fd8b 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.
#f6fd8b, answered
What color is #f6fd8b?
#f6fd8b is a light electric yellow, closest to Khaki (ΔE2000 6.5). It sits at 64° on the hue wheel with 97% saturation and 77% lightness, which reads as warm.
What is the RGB value of #f6fd8b?
rgb(246, 253, 139) — 246 red, 253 green and 139 blue out of 255, or 96.5% / 99.2% / 54.5% by channel.
Is #f6fd8b a light or a dark color?
It is a light color. Relative luminance is 0.9171 and perceived brightness is 94%, so black text on it reaches 19.34:1.
Should I use black or white text on #f6fd8b?
Black. It scores 19.34:1 against #f6fd8b, versus 1.09:1 for white — AAA at any size.
What is the complementary color of #f6fd8b?
#928BFD sits directly opposite on the wheel. Softer options are the split-complements #8BBDFD and #CB8BFD, which give the same contrast with far less vibration.
What colors go well with #f6fd8b?
For interface work: #FAFAF4 as the surface, #EAEDC0 for borders, #969B4B for secondary text, #0026CC as an accent and #767D02 for hover and pressed states. For a palette, the analogous pair #FDCB8B and #BDFD8B stays calm, while #928BFD is the loudest partner.
What is #f6fd8b in CMYK for printing?
cmyk(3%, 0%, 45%, 1%). 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 #f6fd8b warm or cool?
Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FDDA8B; nudged cooler, #CCFE8A.