Skip to content

#f1cf6d

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

RGB
241, 207, 109
HSL
45°, 83%, 69%
CMYK
0, 14, 55, 6
Luminance
0.6443

At a glance

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

Hex
#f1cf6d
Hue
45°
yellow
Saturation
83%
electric
Lightness
69%
light
Brightness
95%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6443
WCAG relative
Temperature
Warm
12/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
13.89:1
Closest name
Khaki
ΔE2000 8
Where it sits
Hue45° of 360°
Saturation83%
Lightness69%
Temperature
Warm ← → Cool12% 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#f1cf6d
RGBrgb(241, 207, 109)
HSLhsl(45, 83%, 69%)
CMYKcmyk(0%, 14%, 55%, 6%)
LABlab(84.2 0.3 52.5)
LCHlch(84.2 52.5 89.7)
OKLCHoklch(0.864 0.123 90.6)
Decimal15847277
Display P3color(display-p3 0.945 0.812 0.427)

Copy-ready code

/* CSS */
color: #f1cf6d;
background-color: #f1cf6d;
/* Tailwind (arbitrary) */
class="text-[#f1cf6d] bg-[#f1cf6d]"
/* SCSS */
$brand: #f1cf6d;
/* SwiftUI */
Color(red: 0.945, green: 0.812, blue: 0.427)
/* Android */
Color.parseColor("#f1cf6d")
/* Flutter */
Color(0xFFF1CF6D)
/* Python / OpenCV (BGR) */
(109, 207, 241)

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 #f1cf6d · 13.89:1
Use #000000AAA at every size.
Aa
White text · 1.51:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.89:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f1cf6d as text scores 1.51:1 on white and 13.89:1 on black.

Accessibility — WCAG contrast

Aa
#f1cf6d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#f1cf6d on black: 13.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E2CC64
deuteranopia · #EAD671
tritanopia · #FFC1B8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f1cf6d is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFAF2
#FAF4E6
#F6E9C6
#F5DD99
#f1cf6d
#EBBC32
#DFAB15
#BA8F12
#95720E
#6C540F
#433409
Base = 400Lightest = 50 · #FCFAF2Darkest = 950 · #433409
:root {
  --brand-50: #FCFAF2;
  --brand-100: #FAF4E6;
  --brand-200: #F6E9C6;
  --brand-300: #F5DD99;
  --brand-400: #f1cf6d;
  --brand-500: #EBBC32;
  --brand-600: #DFAB15;
  --brand-700: #BA8F12;
  --brand-800: #95720E;
  --brand-900: #6C540F;
  --brand-950: #433409;
  --brand: #f1cf6d;
  --brand-ink: #000000;
}

Colors that work with #f1cf6d

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#FAF9F4
Tinted page background
Border#EDE1C0
Hairlines and dividers
Muted text#9B864B
Captions on the surface
Accent#0E67BE
Second voice, not a rival
Dark variant#74590B
Hover, pressed, headers
Light variant#FDF7E8
Selected rows, tints
Dark surface#242014
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 #f1cf6d

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#6D8FF1
Analogous left#F18D6D
Analogous right#D1F16D
Split-complement 1#6DD1F1
Split-complement 2#8D6DF1
Triadic 1#6DF1CF
Triadic 2#CF6DF1
Tetradic#6DF18D

RGB percentages

Red94.5%
Green81.2%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow54.8%
Key (black)5.5%

Color previews

#f1cf6d text on a black background

contrast 13.89:1

Card sample

#f1cf6d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(241, 207, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 207, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1cf6d;
background: linear-gradient(135deg, #f1cf6d, #BBF16D);

Monochromatic scale

Palettes built from #f1cf6d

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.

#f1cf6d 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.

#f1cf6d, answered

What color is #f1cf6d?

#f1cf6d is a light electric yellow, closest to Khaki (ΔE2000 8). It sits at 45° on the hue wheel with 83% saturation and 69% lightness, which reads as warm.

What is the RGB value of #f1cf6d?

rgb(241, 207, 109) — 241 red, 207 green and 109 blue out of 255, or 94.5% / 81.2% / 42.7% by channel.

Is #f1cf6d a light or a dark color?

It is a light color. Relative luminance is 0.6443 and perceived brightness is 82%, so black text on it reaches 13.89:1.

Should I use black or white text on #f1cf6d?

Black. It scores 13.89:1 against #f1cf6d, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #f1cf6d?

#6D8FF1 sits directly opposite on the wheel. Softer options are the split-complements #6DD1F1 and #8D6DF1, which give the same contrast with far less vibration.

What colors go well with #f1cf6d?

For interface work: #FAF9F4 as the surface, #EDE1C0 for borders, #9B864B for secondary text, #0E67BE as an accent and #74590B for hover and pressed states. For a palette, the analogous pair #F18D6D and #D1F16D stays calm, while #6D8FF1 is the loudest partner.

What is #f1cf6d in CMYK for printing?

cmyk(0%, 14%, 55%, 6%). 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 #f1cf6d warm or cool?

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

Work with #f1cf6d in the Color Lab