Sulphur color: hex code #CAB012
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 | |
|---|---|---|
| RGB | rgb(202, 176, 18) | |
| RGB percent | rgb(79.2%, 69%, 7.1%) | |
| HSL | hsl(52, 84%, 43%) | |
| HSV / HSB | hsv(52, 91%, 79%) | |
| CMYK | cmyk(0%, 13%, 91%, 21%) | |
| CIE LAB | lab(72, -4.62, 72.01) | |
| CIE LCH | lch(72, 72.16, 93.67) | |
| CIE XYZ | xyz(39.994, 43.653, 6.891) | |
| Decimal | 13283346 | |
| Short hex | None (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 #CAB012 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.73:1 | Pass | Pass | Pass |
| Sample text | 2.16:1 | Fail | Fail | Fail |
| #CAB012 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.73:1 | Pass | Pass | Pass |
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.
#c3ab00Protanopia
no red cones#cab424Deuteranopia
no green cones#dba196Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
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); }
Similar colors
#bfac05Muddy Yellow#ccaa00Hot Sand#c6aa2bHippie Trail#cfb53bOld Gold#d5bc26Indian Pale Ale#bda928Greenfinch#d6b63dOldies but Goldies#bea932Hey Pesto
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.