HEX atlas value

#CAC421

#CAC421 is a warm yellow HEX color close to Peridot. According to Colors Encyclopedia, it converts to RGB 202, 196, 33, HSL 58, 72%, 46%, has luminance 0.5215, and belongs to the vibrant group.

#CAC421 Sample readable text
HEX #CAC421
RGB rgb(202, 196, 33)
HSL hsl(58 72% 46%)
CMYK cmyk(0, 3, 84, 21)
Luminance 0.5215
Contrast Black 11.43:1White 1.84:1

CSS

--color-cac421: #CAC421;
.background-cac421 { background-color: #CAC421; }
.text-cac421 { color: #CAC421; }

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.5215
Black text11.43:1AA Pass
White text1.84: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":"#CAC421","rgb":[202,196,33],"hsl":[58,72,46],"cmyk":[0,3,84,21],"luminance":0.5215,"contrast":{"black":11.43,"white":1.84}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":11.43,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.84,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E5E161","hex":"#E5E161","family":"yellow","bestTextColor":"#000000","contrastBlack":15.27,"contrastWhite":1.37,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Pear","hex":"#D1E231","family":"yellow","bestTextColor":"#000000","contrastBlack":14.63,"contrastWhite":1.44,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#E4DC07","hex":"#E4DC07","family":"yellow","bestTextColor":"#000000","contrastBlack":14.54,"contrastWhite":1.44,"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":"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","Peridot 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/cac421.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/peridot.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json","https://www.colorsencyclopedia.com/api/colors/old-gold.json"]}
Harmonies
{"complementary":"#2126CA","analogous":["#CA7021","#7BCA21"],"triadic":["#21CAC4","#C421CA"],"tetradic":["#21CA70","#2126CA","#CA217B"],"splitComplementary":["#217BCA","#7021CA"],"monochromatic":["#E5E161","#CAC421","#7B7714"]}
Variants
{"light":"#E5E161","dark":"#7B7714","saturated":"#E4DC07","desaturated":"#B0AC3B","pastel":"#DFDC8B","neon":"#FFF714"}
Nearest named colors
[{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":22.20360331117452},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":27.386127875258307},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":30.430248109405877},{"slug":"pear","name":"Pear","hex":"#D1E231","distance":34.713109915419565},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":34.899856733230294}]

HEX meaning and use

About #CAC421

#CAC421 is classified as a warm yellow value with vibrant visual character. #CAC421 is visually closest to Peridot, a named yellow color with HEX #B4C424.

The RGB channels are 202, 196, and 33, with red carrying the strongest channel weight. In HSL, the hue is 58deg 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.5215, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 22.20, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text11.43:1AA Pass
White text1.84:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000011.43:1 · AAA
White text#FFFFFF1.84:1 · Fail

Accessible Alternatives

#E5E161#000000 text · best 15.27:1#E5E161
Pear#000000 text · best 14.63:1#D1E231
#E4DC07#000000 text · best 14.54:1#E4DC07
Peridot#000000 text · best 10.86:1#B4C424
Old Gold#000000 text · best 10.33:1#CFB53B

Generated Palette

#CAC421#CAC421
#2126CA#2126CA
#CA7021#CA7021
#7BCA21#7BCA21
#E5E161#E5E161
#7B7714#7B7714

Color Harmonies

#2126CA#2126CA
#CA7021#CA7021
#7BCA21#7BCA21
#21CAC4#21CAC4
#C421CA#C421CA

Variants

#E5E161#E5E161
#7B7714#7B7714
#E4DC07#E4DC07
#B0AC3B#B0AC3B
#DFDC8B#DFDC8B
#FFF714#FFF714

Nearest Named Colors