black

#000000

#FFFF40

#FFFF40

Contrast Ratio

19.63:1

Delta E

130.21

Very Different

50:50 Mix

Color Values

Format #000000 #FFFF40
HEX #000000 #FFFF40
RGB 0, 0, 0 255, 255, 64
HSL 0.0, 0.0%, 0.0% 60.0, 100.0%, 62.5%
HSV 0.0, 0.0%, 0.0% 60.0, 74.9%, 100.0%
CMYK 0%, 0%, 0%, 100% 0.0%, 0.0%, 74.9%, 0.0%
OKLCH 0.0 0.0 0.0 0.9697 0.1949 109.5

Contrast & Accessibility

19.63:1
AA Pass AA Large Pass AAA Pass AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #FFFF40 → Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 → Background: #FFFF40

Color Difference (Delta E)

130.21 Very Different
0 — Identical 5 — Similar 25 — Noticeable 100 — Very Different

Gradient

Color Mixing

CSS Gradient Code

background: linear-gradient(to right, #000000, #FFFF40);
background: linear-gradient(135deg, #000000, #FFFF40);

Explore Each Color

Related Comparisons