Sulphur color: hex code #CAB012

#CAB012 rgb(202, 176, 18)
Shades of yellow

Sulphur has the hex code #CAB012. It is a vivid yellow.

In the RGB color model it is made of 79.2% red, 69% green and 7.1% blue (202, 176, 18).

Its hue angle is 52°, with 84% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 91% yellow and 21% black.

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

Sulphur (#CAB012) color codes

HEX#CAB012
RGBrgb(202, 176, 18)
RGB percentrgb(79.2%, 69%, 7.1%)
HSLhsl(52, 84%, 43%)
HSV / HSBhsv(52, 91%, 79%)
CMYKcmyk(0%, 13%, 91%, 21%)
CIE LABlab(72, -4.62, 72.01)
CIE LCHlch(72, 72.16, 93.67)
CIE XYZxyz(39.994, 43.653, 6.891)
Decimal13283346
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Sulphur, 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 #CAB012RatioAAAAAAA large
Sample text9.73:1PassPassPass
Sample text2.16:1FailFailFail
#CAB012 as text onRatioAAAAAAA large
Sample text2.16:1FailFailFail
Sample text9.73: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 #CAB012 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #cab012; }
.text { color: #cab012; }
.border { border: 2px solid #cab012; }
.transparent { background-color: rgb(202 176 18 / 50%); }
.gradient { background: linear-gradient(to right, #cab012, #88ca12); }
Background
Text color
Border

Similar colors

Closest common color name: Metallic Gold.

See #CAB012 on its hex code page

Questions

What color is #CAB012?
#CAB012 is a vivid yellow known as Sulphur. It belongs to the yellow family of colors.
What is the RGB value of Sulphur?
The RGB value is 202, 176, 18: 202 red, 176 green and 18 blue on a 0 to 255 scale.
What is the complementary color of Sulphur?
The complementary color is #122CCA, found by rotating the hue 180° on the color wheel.
Is black or white text better on #CAB012?
Black text. Black text has a contrast ratio of 9.73:1 and white text 2.16:1. WCAG asks for at least 4.5:1 for normal text.