HEX atlas value

#CAB021

#CAB021 is a warm yellow HEX color close to Goldenrod. According to Colors Encyclopedia, it converts to RGB 202, 176, 33, HSL 51, 72%, 46%, has luminance 0.4372, and belongs to the vibrant group.

#CAB021 Sample readable text
HEX #CAB021
RGB rgb(202, 176, 33)
HSL hsl(51 72% 46%)
CMYK cmyk(0, 13, 84, 21)
Luminance 0.4372
Contrast Black 9.74:1White 2.16:1

CSS

--color-cab021: #CAB021;
.background-cab021 { background-color: #CAB021; }
.text-cab021 { color: #CAB021; }

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.4372
Black text9.74:1AA Pass
White text2.16:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#CAB021","rgb":[202,176,33],"hsl":[51,72,46],"cmyk":[0,13,84,21],"luminance":0.4372,"contrast":{"black":9.74,"white":2.16}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.74,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.16,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E5D161","hex":"#E5D161","family":"yellow","bestTextColor":"#000000","contrastBlack":13.62,"contrastWhite":1.54,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#E4C207","hex":"#E4C207","family":"yellow","bestTextColor":"#000000","contrastBlack":12.02,"contrastWhite":1.75,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Peridot","hex":"#B4C424","family":"yellow","bestTextColor":"#000000","contrastBlack":10.86,"contrastWhite":1.93,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#8FCA21","hex":"#8FCA21","family":"green","bestTextColor":"#000000","contrastBlack":10.64,"contrastWhite":1.97,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Old Gold","hex":"#CFB53B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.33,"contrastWhite":2.03,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Goldenrod adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/cab021.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/goldenrod.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json","https://www.colorsencyclopedia.com/api/colors/peridot.json"]}
Harmonies
{"complementary":"#213ACA","analogous":["#CA5C21","#8FCA21"],"triadic":["#21CAB0","#B021CA"],"tetradic":["#21CA5C","#213ACA","#CA218F"],"splitComplementary":["#218FCA","#5C21CA"],"monochromatic":["#E5D161","#CAB021","#7B6B14"]}
Variants
{"light":"#E5D161","dark":"#7B6B14","saturated":"#E4C207","desaturated":"#B09E3B","pastel":"#DFD38B","neon":"#FFDC14"}
Nearest named colors
[{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":19.44222209522358},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":26.94438717061496},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":29.88310559496787},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":30.822070014844883},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":34.92849839314596}]

HEX meaning and use

About #CAB021

#CAB021 is classified as a warm yellow value with vibrant visual character. #CAB021 is visually closest to Goldenrod, a named orange color with HEX #DAA520.

The RGB channels are 202, 176, and 33, with red carrying the strongest channel weight. In HSL, the hue is 51deg with 72% saturation and 46% lightness, so this page treats it as a high-saturation, mid-lightness atlas color rather than a generic swatch.

According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and high-energy accents. Its luminance is 0.4372, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 19.44, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text9.74:1AA Pass
White text2.16:1AA Fail

AA text options: #000000, #1A1A1A, #36454F.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #CAB021 needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#0000009.74:1 · AAA
White text#FFFFFF2.16:1 · Fail

Accessible Alternatives

#E5D161#000000 text · best 13.62:1#E5D161
#E4C207#000000 text · best 12.02:1#E4C207
Peridot#000000 text · best 10.86:1#B4C424
#8FCA21#000000 text · best 10.64:1#8FCA21
Old Gold#000000 text · best 10.33:1#CFB53B

Generated Palette

#CAB021#CAB021
#213ACA#213ACA
#CA5C21#CA5C21
#8FCA21#8FCA21
#E5D161#E5D161
#7B6B14#7B6B14

Color Harmonies

#213ACA#213ACA
#CA5C21#CA5C21
#8FCA21#8FCA21
#21CAB0#21CAB0
#B021CA#B021CA

Variants

#E5D161#E5D161
#7B6B14#7B6B14
#E4C207#E4C207
#B09E3B#B09E3B
#DFD38B#DFD38B
#FFDC14#FFDC14

Nearest Named Colors