black

#000000

#AFAF20

#AFAF20

Contrast Ratio

8.98:1

Delta E

96.97

Very Different

50:50 Mix

Color Values

Format #000000 #AFAF20
HEX #000000 #AFAF20
RGB 0, 0, 0 175, 175, 32
HSL 0.0, 0.0%, 0.0% 60.0, 69.1%, 40.6%
HSV 0.0, 0.0%, 0.0% 60.0, 81.7%, 68.6%
CMYK 0%, 0%, 0%, 100% 0.0%, 0.0%, 81.7%, 31.4%
OKLCH 0.0 0.0 0.0 0.7307 0.1511 109.6

Contrast & Accessibility

8.98:1
AA Pass AA Large Pass AAA Pass AAA Large Pass

Text Readability

The quick brown fox jumps over the lazy dog

Text: #AFAF20 β†’ Background: #000000

The quick brown fox jumps over the lazy dog

Text: #000000 β†’ Background: #AFAF20

Color Difference (Delta E)

96.97 Very Different
0 β€” Identical 5 β€” Similar 25 β€” Noticeable 100 β€” Very Different

Gradient

Color Mixing

CSS Gradient Code

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

Explore Each Color

Related Comparisons