HEX atlas value

#BAD42B

#BAD42B is a warm yellow HEX color close to Peridot. According to Colors Encyclopedia, it converts to RGB 186, 212, 43, HSL 69, 66%, 50%, has luminance 0.577, and belongs to the balanced group.

#BAD42B Sample readable text
HEX #BAD42B
RGB rgb(186, 212, 43)
HSL hsl(69 66% 50%)
CMYK cmyk(12, 0, 80, 17)
Luminance 0.577
Contrast Black 12.54:1White 1.67:1

CSS

--color-bad42b: #BAD42B;
.background-bad42b { background-color: #BAD42B; }
.text-bad42b { color: #BAD42B; }

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.577
Black text12.54:1AA Pass
White text1.67: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":"#BAD42B","rgb":[186,212,43],"hsl":[69,66,50],"cmyk":[12,0,80,17],"luminance":0.577,"contrast":{"black":12.54,"white":1.67}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.54,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.67,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#CEF00F","hex":"#CEF00F","family":"yellow","bestTextColor":"#000000","contrastBlack":16.1,"contrastWhite":1.3,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#D3E378","hex":"#D3E378","family":"yellow","bestTextColor":"#000000","contrastBlack":15.03,"contrastWhite":1.4,"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":"Yellow Green","hex":"#9ACD32","family":"green","bestTextColor":"#000000","contrastBlack":11.15,"contrastWhite":1.88,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#66D42B","hex":"#66D42B","family":"green","bestTextColor":"#000000","contrastBlack":11.02,"contrastWhite":1.91,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","balanced","balanced yellow","Peridot adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/bad42b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/peridot.json","https://www.colorsencyclopedia.com/api/colors/pear.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json"]}
Harmonies
{"complementary":"#452BD4","analogous":["#D4992B","#66D42B"],"triadic":["#2BBAD4","#D42BBA"],"tetradic":["#2BD499","#452BD4","#D42B66"],"splitComplementary":["#2B66D4","#992BD4"],"monochromatic":["#D3E378","#BAD42B","#77871C"]}
Variants
{"light":"#D3E378","dark":"#77871C","saturated":"#CEF00F","desaturated":"#A7B847","pastel":"#D6E09F","neon":"#DFFF29"}
Nearest named colors
[{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":18.466185312619388},{"slug":"pear","name":"Pear","hex":"#D1E231","distance":27.586228448267445},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":28.809720581775867},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":33.49626844888845},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":40.718546143004666}]

HEX meaning and use

About #BAD42B

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

The RGB channels are 186, 212, and 43, with green carrying the strongest channel weight. In HSL, the hue is 69deg with 66% saturation and 50% lightness, so this page treats it as a moderate-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 highlight and warning systems. Its luminance is 0.577, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 18.47, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text12.54:1AA Pass
White text1.67:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.54:1 · AAA
White text#FFFFFF1.67:1 · Fail

Accessible Alternatives

#CEF00F#000000 text · best 16.1:1#CEF00F
#D3E378#000000 text · best 15.03:1#D3E378
Pear#000000 text · best 14.63:1#D1E231
Yellow Green#000000 text · best 11.15:1#9ACD32
#66D42B#000000 text · best 11.02:1#66D42B

Generated Palette

#BAD42B#BAD42B
#452BD4#452BD4
#D4992B#D4992B
#66D42B#66D42B
#D3E378#D3E378
#77871C#77871C

Color Harmonies

#452BD4#452BD4
#D4992B#D4992B
#66D42B#66D42B
#2BBAD4#2BBAD4
#D42BBA#D42BBA

Variants

#D3E378#D3E378
#77871C#77871C
#CEF00F#CEF00F
#A7B847#A7B847
#D6E09F#D6E09F
#DFFF29#DFFF29

Nearest Named Colors