Skip to content

#f2f44b

a balanced, electric yellow · warm · closest name: Yellow

RGB
242, 244, 75
HSL
61°, 89%, 63%
CMYK
1, 0, 69, 4
Luminance
0.8409

At a glance

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

Hex
#f2f44b
Hue
61°
yellow
Saturation
89%
electric
Lightness
63%
balanced
Brightness
96%
HSV value
Perceived
90%
weighted brightness
Luminance
0.8409
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
17.82:1
Closest name
Yellow
ΔE2000 4.4
Where it sits
Hue61° of 360°
Saturation89%
Lightness63%
Temperature
Warm ← → Cool26% 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#f2f44b
RGBrgb(242, 244, 75)
HSLhsl(61, 89%, 63%)
CMYKcmyk(1%, 0%, 69%, 4%)
LABlab(93.5 -19.9 76.7)
LCHlch(93.5 79.2 104.5)
OKLCHoklch(0.937 0.181 110.1)
Decimal15922251
Display P3color(display-p3 0.949 0.957 0.294)

Copy-ready code

/* CSS */
color: #f2f44b;
background-color: #f2f44b;
/* Tailwind (arbitrary) */
class="text-[#f2f44b] bg-[#f2f44b]"
/* SCSS */
$brand: #f2f44b;
/* SwiftUI */
Color(red: 0.949, green: 0.957, blue: 0.294)
/* Android */
Color.parseColor("#f2f44b")
/* Flutter */
Color(0xFFF2F44B)
/* Python / OpenCV (BGR) */
(75, 244, 242)

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

Accessibility — WCAG contrast

Aa
#f2f44b on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#f2f44b on black: 17.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFEA2E
deuteranopia · #FFEF58
tritanopia · #FFE5D3

Color scale — 50 to 950

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

#FDFDF2
#FAFAE5
#F7F8C4
#F7F995
#f2f44b
#F0F22C
#E4E70E
#BEC00C
#989A09
#6E6F0B
#454507
Base = 400Lightest = 50 · #FDFDF2Darkest = 950 · #454507
:root {
  --brand-50: #FDFDF2;
  --brand-100: #FAFAE5;
  --brand-200: #F7F8C4;
  --brand-300: #F7F995;
  --brand-400: #f2f44b;
  --brand-500: #F0F22C;
  --brand-600: #E4E70E;
  --brand-700: #BEC00C;
  --brand-800: #989A09;
  --brand-900: #6E6F0B;
  --brand-950: #454507;
  --brand: #f2f44b;
  --brand-ink: #000000;
}

Colors that work with #f2f44b

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#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#4771F8
Second voice, not a rival
Dark variant#777807
Hover, pressed, headers
Light variant#FDFEE7
Selected rows, tints
Dark surface#242414
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 #f2f44b

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
  • 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
  • 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#4D4BF4
Analogous left#F4A14B
Analogous right#9DF44B
Split-complement 1#4B9DF4
Split-complement 2#A14BF4
Triadic 1#4BF2F4
Triadic 2#F44BF2
Tetradic#4BF4A1

RGB percentages

Red94.9%
Green95.7%
Blue29.4%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow69.3%
Key (black)4.3%

Color previews

#f2f44b text on a black background

contrast 17.82:1

Card sample

#f2f44b text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(242, 244, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 244, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f2f44b;
background: linear-gradient(135deg, #f2f44b, #81F44B);

Monochromatic scale

Palettes built from #f2f44b

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.

#f2f44b 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
ButtonsLinksFocus statesCharts
Print note

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

#f2f44b, answered

What color is #f2f44b?

#f2f44b is a balanced electric yellow, closest to Yellow (ΔE2000 4.4). It sits at 61° on the hue wheel with 89% saturation and 63% lightness, which reads as warm.

What is the RGB value of #f2f44b?

rgb(242, 244, 75) — 242 red, 244 green and 75 blue out of 255, or 94.9% / 95.7% / 29.4% by channel.

Is #f2f44b a light or a dark color?

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

Should I use black or white text on #f2f44b?

Black. It scores 17.82:1 against #f2f44b, versus 1.18:1 for white — AAA at any size.

What is the complementary color of #f2f44b?

#4D4BF4 sits directly opposite on the wheel. Softer options are the split-complements #4B9DF4 and #A14BF4, which give the same contrast with far less vibration.

What colors go well with #f2f44b?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #4771F8 as an accent and #777807 for hover and pressed states. For a palette, the analogous pair #F4A14B and #9DF44B stays calm, while #4D4BF4 is the loudest partner.

What is #f2f44b in CMYK for printing?

cmyk(1%, 0%, 69%, 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 #f2f44b 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 #F4BC4B; nudged cooler, #B4F649.

Work with #f2f44b in the Color Lab