HEX atlas value

#AB9C2B

#AB9C2B is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 171, 156, 43, HSL 53, 60%, 42%, has luminance 0.3261, and belongs to the earth tone group.

#AB9C2B Sample readable text
HEX #AB9C2B
RGB rgb(171, 156, 43)
HSL hsl(53 60% 42%)
CMYK cmyk(0, 9, 75, 33)
Luminance 0.3261
Contrast Black 7.52:1White 2.79:1

CSS

--color-ab9c2b: #AB9C2B;
.background-ab9c2b { background-color: #AB9C2B; }
.text-ab9c2b { color: #AB9C2B; }

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.3261
Black text7.52:1AA Pass
White text2.79: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":"#AB9C2B","rgb":[171,156,43],"hsl":[53,60,42],"cmyk":[0,9,75,33],"luminance":0.3261,"contrast":{"black":7.52,"white":2.79}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":["#000000"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":7.52,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.79,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#D6C85C","hex":"#D6C85C","family":"yellow","bestTextColor":"#000000","contrastBlack":12.28,"contrastWhite":1.71,"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":"#C3AE13","hex":"#C3AE13","family":"yellow","bestTextColor":"#000000","contrastBlack":9.38,"contrastWhite":2.24,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#2B3AAB","hex":"#2B3AAB","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.3,"contrastWhite":9.15,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
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/ab9c2b.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":"#2B3AAB","analogous":["#AB5C2B","#7AAB2B"],"triadic":["#2BAB9C","#9C2BAB"],"tetradic":["#2BAB5C","#2B3AAB","#AB2B7A"],"splitComplementary":["#2B7AAB","#5C2BAB"],"monochromatic":["#D6C85C","#AB9C2B","#625918"]}
Variants
{"light":"#D6C85C","dark":"#625918","saturated":"#C3AE13","desaturated":"#948A42","pastel":"#D1C885","neon":"#FFE100"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":27},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":27},{"slug":"acid-green","name":"Acid Green","hex":"#B0BF1A","distance":39.230090491866065},{"slug":"dark-goldenrod","name":"Dark Goldenrod","hex":"#B8860B","distance":40.95119045888654},{"slug":"peridot","name":"Peridot","hex":"#B4C424","distance":41.593268686170845}]

HEX meaning and use

About #AB9C2B

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

The RGB channels are 171, 156, and 43, with red carrying the strongest channel weight. In HSL, the hue is 53deg with 60% 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.3261, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 27.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text7.52:1AA Pass
White text2.79:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: #000000.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000007.52:1 · AAA
White text#FFFFFF2.79:1 · Fail

Accessible Alternatives

#D6C85C#000000 text · best 12.28:1#D6C85C
Peridot#000000 text · best 10.86:1#B4C424
Acid Green#000000 text · best 10.31:1#B0BF1A
#C3AE13#000000 text · best 9.38:1#C3AE13
#2B3AAB#FFFFFF text · best 9.15:1#2B3AAB

Generated Palette

#AB9C2B#AB9C2B
#2B3AAB#2B3AAB
#AB5C2B#AB5C2B
#7AAB2B#7AAB2B
#D6C85C#D6C85C
#625918#625918

Color Harmonies

#2B3AAB#2B3AAB
#AB5C2B#AB5C2B
#7AAB2B#7AAB2B
#2BAB9C#2BAB9C
#9C2BAB#9C2BAB

Variants

#D6C85C#D6C85C
#625918#625918
#C3AE13#C3AE13
#948A42#948A42
#D1C885#D1C885
#FFE100#FFE100

Nearest Named Colors