Skip to content

#ffd78b

a light, electric orange · warm · closest name: Navajo White

RGB
255, 215, 139
HSL
39°, 100%, 77%
CMYK
0, 16, 46, 0
Luminance
0.7172

At a glance

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

Hex
#ffd78b
Hue
39°
orange
Saturation
100%
electric
Lightness
77%
light
Brightness
100%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7172
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
15.34:1
Closest name
Navajo White
ΔE2000 5.8
Where it sits
Hue39° of 360°
Saturation100%
Lightness77%
Temperature
Warm ← → Cool8% 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#ffd78b
RGBrgb(255, 215, 139)
HSLhsl(39, 100%, 77%)
CMYKcmyk(0%, 16%, 46%, 0%)
LABlab(87.8 4.4 42.6)
LCHlch(87.8 42.8 84.1)
OKLCHoklch(0.897 0.104 82.7)
Decimal16766859
Display P3color(display-p3 1.000 0.843 0.545)

Copy-ready code

/* CSS */
color: #ffd78b;
background-color: #ffd78b;
/* Tailwind (arbitrary) */
class="text-[#ffd78b] bg-[#ffd78b]"
/* SCSS */
$brand: #ffd78b;
/* SwiftUI */
Color(red: 1.000, green: 0.843, blue: 0.545)
/* Android */
Color.parseColor("#ffd78b")
/* Flutter */
Color(0xFFFFD78B)
/* Python / OpenCV (BGR) */
(139, 215, 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 #ffd78b · 15.34:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.34:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ffd78b as text scores 1.37:1 on white and 15.34:1 on black.

Accessibility — WCAG contrast

Aa
#ffd78b on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffd78b on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E9D685
deuteranopia · #F3E18D
tritanopia · #FFCAC4

Color scale — 50 to 950

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

#FEF9F1
#FCF4E3
#FCE7C0
#ffd78b
#FFC557
#FFB21F
#F5A000
#CC8600
#A36B00
#764F05
#493103
Base = 300Lightest = 50 · #FEF9F1Darkest = 950 · #493103
:root {
  --brand-50: #FEF9F1;
  --brand-100: #FCF4E3;
  --brand-200: #FCE7C0;
  --brand-300: #ffd78b;
  --brand-400: #FFC557;
  --brand-500: #FFB21F;
  --brand-600: #F5A000;
  --brand-700: #CC8600;
  --brand-800: #A36B00;
  --brand-900: #764F05;
  --brand-950: #493103;
  --brand: #ffd78b;
  --brand-ink: #000000;
}

Colors that work with #ffd78b

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#FAF8F4
Tinted page background
Border#EDDDC0
Hairlines and dividers
Muted text#9B7F4B
Captions on the surface
Accent#0079CC
Second voice, not a rival
Dark variant#805400
Hover, pressed, headers
Light variant#FFF6E5
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 #ffd78b

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
  • 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#8BB3FF
Analogous left#FF9D8B
Analogous right#EDFF8B
Split-complement 1#8BEDFF
Split-complement 2#9D8BFF
Triadic 1#8BFFD7
Triadic 2#D78BFF
Tetradic#8BFF9D

RGB percentages

Red100.0%
Green84.3%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow45.5%
Key (black)0.0%

Color previews

#ffd78b text on a black background

contrast 15.34:1

Card sample

#ffd78b text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd78b

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.

#ffd78b in the real world

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

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#ffd78b, answered

What color is #ffd78b?

#ffd78b is a light electric orange, closest to Navajo White (ΔE2000 5.8). It sits at 39° on the hue wheel with 100% saturation and 77% lightness, which reads as warm.

What is the RGB value of #ffd78b?

rgb(255, 215, 139) — 255 red, 215 green and 139 blue out of 255, or 100% / 84.3% / 54.5% by channel.

Is #ffd78b a light or a dark color?

It is a light color. Relative luminance is 0.7172 and perceived brightness is 87%, so black text on it reaches 15.34:1.

Should I use black or white text on #ffd78b?

Black. It scores 15.34:1 against #ffd78b, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #ffd78b?

#8BB3FF sits directly opposite on the wheel. Softer options are the split-complements #8BEDFF and #9D8BFF, which give the same contrast with far less vibration.

What colors go well with #ffd78b?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #0079CC as an accent and #805400 for hover and pressed states. For a palette, the analogous pair #FF9D8B and #EDFF8B stays calm, while #8BB3FF is the loudest partner.

What is #ffd78b in CMYK for printing?

cmyk(0%, 16%, 46%, 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 #ffd78b warm or cool?

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

Work with #ffd78b in the Color Lab