#CCB017 color

#CCB017 rgb(204, 176, 23)
Shades of yellow

The hex color #CCB017 is a moderate yellow.

In the RGB color model it is made of 80% red, 69% green and 9% blue (204, 176, 23).

Its hue angle is 51°, with 80% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 14% magenta, 89% yellow and 20% black.

The closest named color is Sulphur (#CAB012), a difference of 0.6 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 9.79:1).

#CCB017 color codes

HEX#CCB017
RGBrgb(204, 176, 23)
RGB percentrgb(80%, 69%, 9%)
HSLhsl(51, 80%, 45%)
HSV / HSBhsv(51, 89%, 80%)
CMYKcmyk(0%, 14%, 89%, 20%)
CIE LABlab(72.2, -3.65, 71.35)
CIE LCHlch(72.2, 71.44, 92.93)
CIE XYZxyz(40.584, 43.952, 7.156)
Decimal13414423
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #CCB017, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #CCB017RatioAAAAAAA large
Sample text9.79:1PassPassPass
Sample text2.15:1FailFailFail
#CCB017 as text onRatioAAAAAAA large
Sample text2.15:1FailFailFail
Sample text9.79:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #CCB017 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #ccb017; }
.text { color: #ccb017; }
.border { border: 2px solid #ccb017; }
.transparent { background-color: rgb(204 176 23 / 50%); }
.gradient { background: linear-gradient(to right, #ccb017, #8ecc17); }
Background
Text color
Border

Similar colors

Closest common color name: Metallic Gold.

Questions

What color is #CCB017?
#CCB017 is a moderate yellow, closest to the named color Sulphur. It belongs to the yellow family of colors.
What is the RGB value of #CCB017?
The RGB value is 204, 176, 23: 204 red, 176 green and 23 blue on a 0 to 255 scale.
What is the complementary color of #CCB017?
The complementary color is #1733CC, found by rotating the hue 180° on the color wheel.
Is black or white text better on #CCB017?
Black text. Black text has a contrast ratio of 9.79:1 and white text 2.15:1. WCAG asks for at least 4.5:1 for normal text.