Yellow and Charcoal

#FFFF00 · oklch(96.8% 0.211 109.8)
#36454F · oklch(38.14% 0.026 237.5)
hue separation 144° · direct contrast 9.22:1 · warm + cool

Why they work: hazard-stripe clarity with an urban edge.

Combination sets

The classic split

Yellow and Charcoal with a light tint of yellow, a deep shade of charcoal and white for breathing room.

FFFF00
36454F
FBFCE7
141E25
FFFFFF
Yellow — primary · Charcoal — secondary · Light tint (surfaces) · Deep shade (text/footer) · White (space)

Dark mode

Both anchors survive on dark: Charcoal as the highlight, Yellow as the accent, and two intermediate surfaces for elevation.

16161D
343123
FFFF00
36454F
F5F5F4
Base surface · Elevated surface · Yellow — accent · Charcoal — highlight · Primary text

Soft & light

Both anchors reduced to tints for airy sections, with the full-strength colors kept for buttons and links.

FFFCFC
DCD9DB
FFFF00
36454F
F7F5E9
Yellow wash · Charcoal wash · Yellow — full · Charcoal — full · Neutral page

60 / 30 / 10 UI set

A practical interface split: neutral ~60%, yellow ~30% for structure, charcoal ~10% for calls to action.

E4ECE4
EAEED0
FFFF00
36454F
000000
Neutral base (60%) · Soft border/surface · Yellow (30%) · Charcoal CTA (10%) · Text color

Gradient bridge

The direct perceptual path from yellow to charcoal — use for hero sections, charts and progress states.

FFFF00
CCCC39
9B9C48
6A6F4E
36454F
Yellow — start · Bridge step · Bridge step · Bridge step · Charcoal — end

Contrast data

ForegroundBackgroundRatioAAAAA
#FFFF00#36454F9.22:1
#36454F#FFFF009.22:1
#FFFF00#FFFFFF1.07:1
#FFFF00#00000019.56:1
#36454F#FFFFFF9.90:1
#36454F#0000002.12:1
#16161D#2AAE916.48:1
Open in palette generator →Preview on UI scenes →Open in contrast checker →

Related combinations

FAQ

Do yellow and charcoal go together?

Yes — hazard-stripe clarity with an urban edge. Their hues are 144° apart on the color wheel and the direct pair contrast is 9.22:1. The sets on this page show exactly how to balance them (warm + cool).

What text color works on yellow and charcoal?

On yellow use #000000 text (19.56:1); on charcoal use #FFFFFF (9.9:1). Both pass WCAG AA for normal text.

What are the exact color codes?

Yellow: #FFFF00 — OKLCH oklch(96.8% 0.211 109.8). Charcoal: #36454F — OKLCH oklch(38.14% 0.026 237.5).