HEX atlas value

#B4B05F

#B4B05F is a warm yellow HEX color close to Dark Khaki. According to Colors Encyclopedia, it converts to RGB 180, 176, 95, HSL 57, 36%, 54%, has luminance 0.4158, and belongs to the earth tone group.

#B4B05F Sample readable text
HEX #B4B05F
RGB rgb(180, 176, 95)
HSL hsl(57 36% 54%)
CMYK cmyk(0, 2, 47, 29)
Luminance 0.4158
Contrast Black 9.32:1White 2.25:1

CSS

--color-b4b05f: #B4B05F;
.background-b4b05f { background-color: #B4B05F; }
.text-b4b05f { color: #B4B05F; }

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.4158
Black text9.32:1AA Pass
White text2.25: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":"#B4B05F","rgb":[180,176,95],"hsl":[57,36,54],"cmyk":[0,2,47,29],"luminance":0.4158,"contrast":{"black":9.32,"white":2.25}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.32,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.25,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D1CF9E","hex":"#D1CF9E","family":"yellow","bestTextColor":"#000000","contrastBlack":13.13,"contrastWhite":1.6,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#CEC746","hex":"#CEC746","family":"yellow","bestTextColor":"#000000","contrastBlack":11.88,"contrastWhite":1.77,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Bamboo","hex":"#C7B56E","family":"yellow","bestTextColor":"#000000","contrastBlack":10.26,"contrastWhite":2.05,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Dark Khaki","hex":"#BDB76B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.15,"contrastWhite":2.07,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Sandstone","hex":"#C9AE74","family":"orange","bestTextColor":"#000000","contrastBlack":9.79,"contrastWhite":2.15,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Dark Khaki adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/b4b05f.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/dark-khaki.json","https://www.colorsencyclopedia.com/api/colors/bamboo.json","https://www.colorsencyclopedia.com/api/colors/camel.json"]}
Harmonies
{"complementary":"#5F64B4","analogous":["#B4855F","#8EB45F"],"triadic":["#5FB4B0","#B05FB4"],"tetradic":["#5FB485","#5F64B4","#B45F8E"],"splitComplementary":["#5F8EB4","#855FB4"],"monochromatic":["#D1CF9E","#B4B05F","#7D7A3B"]}
Variants
{"light":"#D1CF9E","dark":"#7D7A3B","saturated":"#CEC746","desaturated":"#9A9879","pastel":"#D5D4BE","neon":"#FFF53D"}
Nearest named colors
[{"slug":"dark-khaki","name":"Dark Khaki","hex":"#BDB76B","distance":16.55294535724685},{"slug":"bamboo","name":"Bamboo","hex":"#C7B56E","distance":24.71841418861655},{"slug":"camel","name":"Camel","hex":"#C19A6B","distance":28.231188426986208},{"slug":"sandstone","name":"Sandstone","hex":"#C9AE74","distance":29.765752132274432},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":30.692018506445613}]

HEX meaning and use

About #B4B05F

#B4B05F is classified as a warm yellow value with earth tone visual character. #B4B05F is visually closest to Dark Khaki, a named yellow color with HEX #BDB76B.

The RGB channels are 180, 176, and 95, with red carrying the strongest channel weight. In HSL, the hue is 57deg with 36% saturation and 54% 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 natural palettes. Its luminance is 0.4158, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 16.55, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text9.32:1AA Pass
White text2.25:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.32:1 · AAA
White text#FFFFFF2.25:1 · Fail

Accessible Alternatives

#D1CF9E#000000 text · best 13.13:1#D1CF9E
#CEC746#000000 text · best 11.88:1#CEC746
Bamboo#000000 text · best 10.26:1#C7B56E
Dark Khaki#000000 text · best 10.15:1#BDB76B
Sandstone#000000 text · best 9.79:1#C9AE74

Generated Palette

#B4B05F#B4B05F
#5F64B4#5F64B4
#B4855F#B4855F
#8EB45F#8EB45F
#D1CF9E#D1CF9E
#7D7A3B#7D7A3B

Color Harmonies

#5F64B4#5F64B4
#B4855F#B4855F
#8EB45F#8EB45F
#5FB4B0#5FB4B0
#B05FB4#B05FB4

Variants

#D1CF9E#D1CF9E
#7D7A3B#7D7A3B
#CEC746#CEC746
#9A9879#9A9879
#D5D4BE#D5D4BE
#FFF53D#FFF53D

Nearest Named Colors