HEX atlas value

#B8B31E

#B8B31E is a warm yellow HEX color close to Acid Green. According to Colors Encyclopedia, it converts to RGB 184, 179, 30, HSL 58, 72%, 42%, has luminance 0.4252, and belongs to the vibrant group.

#B8B31E Sample readable text
HEX #B8B31E
RGB rgb(184, 179, 30)
HSL hsl(58 72% 42%)
CMYK cmyk(0, 3, 84, 28)
Luminance 0.4252
Contrast Black 9.5:1White 2.21:1

CSS

--color-b8b31e: #B8B31E;
.background-b8b31e { background-color: #B8B31E; }
.text-b8b31e { color: #B8B31E; }

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.4252
Black text9.5:1AA Pass
White text2.21: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":"#B8B31E","rgb":[184,179,30],"hsl":[58,72,42],"cmyk":[0,3,84,28],"luminance":0.4252,"contrast":{"black":9.5,"white":2.21}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.5,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.21,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#E2DE50","hex":"#E2DE50","family":"yellow","bestTextColor":"#000000","contrastBlack":14.8,"contrastWhite":1.42,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#D0C906","hex":"#D0C906","family":"yellow","bestTextColor":"#000000","contrastBlack":12.04,"contrastWhite":1.74,"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":"#1E23B8","hex":"#1E23B8","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.99,"contrastWhite":10.56,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"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","Acid Green adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/b8b31e.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json","https://www.colorsencyclopedia.com/api/colors/peridot.json","https://www.colorsencyclopedia.com/api/colors/goldenrod.json"]}
Harmonies
{"complementary":"#1E23B8","analogous":["#B8661E","#70B81E"],"triadic":["#1EB8B3","#B31EB8"],"tetradic":["#1EB866","#1E23B8","#B81E70"],"splitComplementary":["#1E70B8","#661EB8"],"monochromatic":["#E2DE50","#B8B31E","#696611"]}
Variants
{"light":"#E2DE50","dark":"#696611","saturated":"#D0C906","desaturated":"#A19D36","pastel":"#DBD87B","neon":"#FFF700"}
Nearest named colors
[{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":14.966629547095765},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":18.466185312619388},{"slug":"goldenrod","name":"Goldenrod","hex":"#DAA520","distance":36.823905279043935},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":37.067505985701274},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":38.39270764090493}]

HEX meaning and use

About #B8B31E

#B8B31E is classified as a warm yellow value with vibrant visual character. #B8B31E is visually closest to Acid Green, a named yellow color with HEX #B0BF1A.

The RGB channels are 184, 179, and 30, with red carrying the strongest channel weight. In HSL, the hue is 58deg with 72% saturation and 42% 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.4252, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 14.97, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text9.5:1AA Pass
White text2.21:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.5:1 · AAA
White text#FFFFFF2.21:1 · Fail

Accessible Alternatives

#E2DE50#000000 text · best 14.8:1#E2DE50
#D0C906#000000 text · best 12.04:1#D0C906
Peridot#000000 text · best 10.86:1#B4C424
#1E23B8#FFFFFF text · best 10.56:1#1E23B8
Old Gold#000000 text · best 10.33:1#CFB53B

Generated Palette

#B8B31E#B8B31E
#1E23B8#1E23B8
#B8661E#B8661E
#70B81E#70B81E
#E2DE50#E2DE50
#696611#696611

Color Harmonies

#1E23B8#1E23B8
#B8661E#B8661E
#70B81E#70B81E
#1EB8B3#1EB8B3
#B31EB8#B31EB8

Variants

#E2DE50#E2DE50
#696611#696611
#D0C906#D0C906
#A19D36#A19D36
#DBD87B#DBD87B
Lemon#FFF700

Nearest Named Colors