Skip to content

#f6eb90

a light, electric yellow · warm · closest name: Khaki

RGB
246, 235, 144
HSL
54°, 85%, 77%
CMYK
0, 5, 42, 4
Luminance
0.8102

At a glance

Every number on this page in one read: what #f6eb90 is made of, how bright it looks, and which way it leans.

Hex
#f6eb90
Hue
54°
yellow
Saturation
85%
electric
Lightness
77%
light
Brightness
96%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8102
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.20:1
Closest name
Khaki
ΔE2000 1.1
Where it sits
Hue54° of 360°
Saturation85%
Lightness77%
Temperature
Warm ← → Cool20% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f6eb90
RGBrgb(246, 235, 144)
HSLhsl(54, 85%, 77%)
CMYKcmyk(0%, 5%, 42%, 4%)
LABlab(92.1 -8.8 45.4)
LCHlch(92.1 46.3 100.9)
OKLCHoklch(0.929 0.113 102.3)
Decimal16182160
Display P3color(display-p3 0.965 0.922 0.565)

Copy-ready code

/* CSS */
color: #f6eb90;
background-color: #f6eb90;
/* Tailwind (arbitrary) */
class="text-[#f6eb90] bg-[#f6eb90]"
/* SCSS */
$brand: #f6eb90;
/* SwiftUI */
Color(red: 0.965, green: 0.922, blue: 0.565)
/* Android */
Color.parseColor("#f6eb90")
/* Flutter */
Color(0xFFF6EB90)
/* Python / OpenCV (BGR) */
(144, 235, 246)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #f6eb90 · 17.20:1
Use #000000AAA at every size.
Aa
White text · 1.22:1
AA fail · AA large fail · AAA fail
Aa
Black text · 17.20:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f6eb90 as text scores 1.22:1 on white and 17.20:1 on black.

Accessibility — WCAG contrast

Aa
#f6eb90 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#f6eb90 on black: 17.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FAE589
deuteranopia · #FEEB94
tritanopia · #FFE0D5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f6eb90 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.

#FCFBF2
#FAF8E5
#F7F1C5
#f6eb90
#F2E363
#EEDA2F
#E2CC12
#BDAA0F
#97880C
#6D630D
#443E08
Base = 300Lightest = 50 · #FCFBF2Darkest = 950 · #443E08
:root {
  --brand-50: #FCFBF2;
  --brand-100: #FAF8E5;
  --brand-200: #F7F1C5;
  --brand-300: #f6eb90;
  --brand-400: #F2E363;
  --brand-500: #EEDA2F;
  --brand-600: #E2CC12;
  --brand-700: #BDAA0F;
  --brand-800: #97880C;
  --brand-900: #6D630D;
  --brand-950: #443E08;
  --brand: #f6eb90;
  --brand-ink: #000000;
}

Colors that work with #f6eb90

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#0C4CC0
Second voice, not a rival
Dark variant#766A0A
Hover, pressed, headers
Light variant#FDFBE7
Selected rows, tints
Dark surface#242314
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #f6eb90

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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#909BF6
Analogous left#F6B890
Analogous right#CEF690
Split-complement 1#90CEF6
Split-complement 2#B890F6
Triadic 1#90F6EB
Triadic 2#EB90F6
Tetradic#90F6B8

RGB percentages

Red96.5%
Green92.2%
Blue56.5%

CMYK percentages

Cyan0.0%
Magenta4.5%
Yellow41.5%
Key (black)3.5%

Color previews

#f6eb90 text on a black background

contrast 17.20:1

Card sample

#f6eb90 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f6eb90;
Background color
Panel with #f6eb90 background
background-color: #f6eb90;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f6eb90;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(246, 235, 144, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 235, 144, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f6eb90;
background: linear-gradient(135deg, #f6eb90, #BDF690);

Monochromatic scale

Palettes built from #f6eb90

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.

#f6eb90 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f6eb90, answered

What color is #f6eb90?

#f6eb90 is a light electric yellow, closest to Khaki (ΔE2000 1.1). It sits at 54° on the hue wheel with 85% saturation and 77% lightness, which reads as warm.

What is the RGB value of #f6eb90?

rgb(246, 235, 144) — 246 red, 235 green and 144 blue out of 255, or 96.5% / 92.2% / 56.5% by channel.

Is #f6eb90 a light or a dark color?

It is a light color. Relative luminance is 0.8102 and perceived brightness is 90%, so black text on it reaches 17.20:1.

Should I use black or white text on #f6eb90?

Black. It scores 17.20:1 against #f6eb90, versus 1.22:1 for white — AAA at any size.

What is the complementary color of #f6eb90?

#909BF6 sits directly opposite on the wheel. Softer options are the split-complements #90CEF6 and #B890F6, which give the same contrast with far less vibration.

What colors go well with #f6eb90?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #0C4CC0 as an accent and #766A0A for hover and pressed states. For a palette, the analogous pair #F6B890 and #CEF690 stays calm, while #909BF6 is the loudest partner.

What is #f6eb90 in CMYK for printing?

cmyk(0%, 5%, 42%, 4%). 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 #f6eb90 warm or cool?

Warm — it scores 20 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F6CA90; nudged cooler, #DCF78F.

Work with #f6eb90 in the Color Lab