HEX atlas value

#9FA531

#9FA531 is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 159, 165, 49, HSL 63, 54%, 42%, has luminance 0.345, and belongs to the earth tone group.

#9FA531 Sample readable text
HEX #9FA531
RGB rgb(159, 165, 49)
HSL hsl(63 54% 42%)
CMYK cmyk(4, 0, 70, 35)
Luminance 0.345
Contrast Black 7.9:1White 2.66:1

CSS

--color-9fa531: #9FA531;
.background-9fa531 { background-color: #9FA531; }
.text-9fa531 { color: #9FA531; }

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.345
Black text7.9:1AA Pass
White text2.66: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":"#9FA531","rgb":[159,165,49],"hsl":[63,54,42],"cmyk":[4,0,70,35],"luminance":0.345,"contrast":{"black":7.9,"white":2.66}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":7.9,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.66,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#CBD062","hex":"#CBD062","family":"yellow","bestTextColor":"#000000","contrastBlack":12.74,"contrastWhite":1.65,"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":"Peridot","hex":"#B4C424","family":"yellow","bestTextColor":"#000000","contrastBlack":10.86,"contrastWhite":1.93,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Acid Green","hex":"#B0BF1A","family":"yellow","bestTextColor":"#000000","contrastBlack":10.31,"contrastWhite":2.04,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#B4BC1A","hex":"#B4BC1A","family":"yellow","bestTextColor":"#000000","contrastBlack":10.15,"contrastWhite":2.07,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Brass 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/9fa531.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/brass.json","https://www.colorsencyclopedia.com/api/colors/brushed-brass.json","https://www.colorsencyclopedia.com/api/colors/acid-green.json"]}
Harmonies
{"complementary":"#3731A5","analogous":["#A57131","#65A531"],"triadic":["#319FA5","#A5319F"],"tetradic":["#31A571","#3731A5","#A53165"],"splitComplementary":["#3165A5","#7131A5"],"monochromatic":["#CBD062","#9FA531","#5B5E1C"]}
Variants
{"light":"#CBD062","dark":"#5B5E1C","saturated":"#B4BC1A","desaturated":"#8A8D49","pastel":"#C8CC8A","neon":"#F2FF00"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":27.820855486487112},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":27.820855486487112},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":38.65229618017538},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":39.63584236521283},{"slug":"yellow-green","name":"Yellow Green","hex":"#9ACD32","distance":40.32369030731191}]

HEX meaning and use

About #9FA531

#9FA531 is classified as a warm yellow value with earth tone visual character. #9FA531 is visually closest to Brass, a named yellow color with HEX #B5A642.

The RGB channels are 159, 165, and 49, with green carrying the strongest channel weight. In HSL, the hue is 63deg with 54% saturation and 42% 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.345, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 27.82, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text7.9:1AA Pass
White text2.66:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000007.9:1 · AAA
White text#FFFFFF2.66:1 · Fail

Accessible Alternatives

#CBD062#000000 text · best 12.74:1#CBD062
Yellow Green#000000 text · best 11.15:1#9ACD32
Peridot#000000 text · best 10.86:1#B4C424
Acid Green#000000 text · best 10.31:1#B0BF1A
#B4BC1A#000000 text · best 10.15:1#B4BC1A

Generated Palette

#9FA531#9FA531
#3731A5#3731A5
#A57131#A57131
#65A531#65A531
#CBD062#CBD062
#5B5E1C#5B5E1C

Color Harmonies

#3731A5#3731A5
#A57131#A57131
#65A531#65A531
#319FA5#319FA5
#A5319F#A5319F

Variants

#CBD062#CBD062
#5B5E1C#5B5E1C
#B4BC1A#B4BC1A
#8A8D49#8A8D49
#C8CC8A#C8CC8A
#F2FF00#F2FF00

Nearest Named Colors