Skip to content

#ffd36f

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

RGB
255, 211, 111
HSL
42°, 100%, 72%
CMYK
0, 17, 57, 0
Luminance
0.6900

At a glance

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

Hex
#ffd36f
Hue
42°
yellow
Saturation
100%
electric
Lightness
72%
light
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6900
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
14.80:1
Closest name
Gold
ΔE2000 8.7
Where it sits
Hue42° of 360°
Saturation100%
Lightness72%
Temperature
Warm ← → Cool10% 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#ffd36f
RGBrgb(255, 211, 111)
HSLhsl(42, 100%, 72%)
CMYKcmyk(0%, 17%, 57%, 0%)
LABlab(86.5 4.1 54.6)
LCHlch(86.5 54.7 85.7)
OKLCHoklch(0.885 0.128 85.9)
Decimal16765807
Display P3color(display-p3 1.000 0.827 0.435)

Copy-ready code

/* CSS */
color: #ffd36f;
background-color: #ffd36f;
/* Tailwind (arbitrary) */
class="text-[#ffd36f] bg-[#ffd36f]"
/* SCSS */
$brand: #ffd36f;
/* SwiftUI */
Color(red: 1.000, green: 0.827, blue: 0.435)
/* Android */
Color.parseColor("#ffd36f")
/* Flutter */
Color(0xFFFFD36F)
/* Python / OpenCV (BGR) */
(111, 211, 255)

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

Accessibility — WCAG contrast

Aa
#ffd36f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ffd36f on black: 14.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8D266
deuteranopia · #F2DD73
tritanopia · #FFC4BC

Color scale — 50 to 950

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

#FEFAF1
#FCF5E3
#FCE9C0
#FFDD8F
#ffd36f
#FFBB1F
#F5AA00
#CC8E00
#A37100
#765305
#493403
Base = 400Lightest = 50 · #FEFAF1Darkest = 950 · #493403
:root {
  --brand-50: #FEFAF1;
  --brand-100: #FCF5E3;
  --brand-200: #FCE9C0;
  --brand-300: #FFDD8F;
  --brand-400: #ffd36f;
  --brand-500: #FFBB1F;
  --brand-600: #F5AA00;
  --brand-700: #CC8E00;
  --brand-800: #A37100;
  --brand-900: #765305;
  --brand-950: #493403;
  --brand: #ffd36f;
  --brand-ink: #000000;
}

Colors that work with #ffd36f

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#EDDFC0
Hairlines and dividers
Muted text#9B824B
Captions on the surface
Accent#0071CC
Second voice, not a rival
Dark variant#805900
Hover, pressed, headers
Light variant#FFF7E5
Selected rows, tints
Dark surface#241F14
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 #ffd36f

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#6F9BFF
Analogous left#FF8B6F
Analogous right#E3FF6F
Split-complement 1#6FE3FF
Split-complement 2#8B6FFF
Triadic 1#6FFFD3
Triadic 2#D36FFF
Tetradic#6FFF8B

RGB percentages

Red100.0%
Green82.7%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta17.3%
Yellow56.5%
Key (black)0.0%

Color previews

#ffd36f text on a black background

contrast 14.80:1

Card sample

#ffd36f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 211, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 211, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffd36f;
background: linear-gradient(135deg, #ffd36f, #CBFF6F);

Monochromatic scale

Palettes built from #ffd36f

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.

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

#ffd36f, answered

What color is #ffd36f?

#ffd36f is a light electric yellow, closest to Gold (ΔE2000 8.7). It sits at 42° on the hue wheel with 100% saturation and 72% lightness, which reads as warm.

What is the RGB value of #ffd36f?

rgb(255, 211, 111) — 255 red, 211 green and 111 blue out of 255, or 100% / 82.7% / 43.5% by channel.

Is #ffd36f a light or a dark color?

It is a light color. Relative luminance is 0.6900 and perceived brightness is 85%, so black text on it reaches 14.80:1.

Should I use black or white text on #ffd36f?

Black. It scores 14.80:1 against #ffd36f, versus 1.42:1 for white — AAA at any size.

What is the complementary color of #ffd36f?

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

What colors go well with #ffd36f?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B824B for secondary text, #0071CC as an accent and #805900 for hover and pressed states. For a palette, the analogous pair #FF8B6F and #E3FF6F stays calm, while #6F9BFF is the loudest partner.

What is #ffd36f in CMYK for printing?

cmyk(0%, 17%, 57%, 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 #ffd36f warm or cool?

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

Work with #ffd36f in the Color Lab