Hex Color #B7B603 - Custom Color

Color Codes

HEX
#B7B603
RGB
rgb(183, 182, 3)
HSL
hsl(60, 97%, 36%)
CMYK
cmyk(0%, 1%, 98%, 28%)
HSV
hsv(60, 98%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.71:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #B7B603;
color: #B7B603;
border-color: #B7B603;
}

Tailwind CSS (with arbitrary values)

bg-[#B7B603]
text-[#B7B603]
border-[#B7B603]
// Example usage:
<div className="bg-[#B7B603]">