HEX atlas value

#C2B151

#C2B151 is a warm yellow HEX color close to Brass. According to Colors Encyclopedia, it converts to RGB 194, 177, 81, HSL 51, 48%, 54%, has luminance 0.4351, and belongs to the earth tone group.

#C2B151 Sample readable text
HEX #C2B151
RGB rgb(194, 177, 81)
HSL hsl(51 48% 54%)
CMYK cmyk(0, 9, 58, 24)
Luminance 0.4351
Contrast Black 9.7:1White 2.16:1

CSS

--color-c2b151: #C2B151;
.background-c2b151 { background-color: #C2B151; }
.text-c2b151 { color: #C2B151; }

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.4351
Black text9.7:1AA Pass
White text2.16: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":"#C2B151","rgb":[194,177,81],"hsl":[51,48,54],"cmyk":[0,9,58,24],"luminance":0.4351,"contrast":{"black":9.7,"white":2.16}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":9.7,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":2.16,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#DAD095","hex":"#DAD095","family":"yellow","bestTextColor":"#000000","contrastBlack":13.44,"contrastWhite":1.56,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#DCC338","hex":"#DCC338","family":"yellow","bestTextColor":"#000000","contrastBlack":11.91,"contrastWhite":1.76,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Old Gold","hex":"#CFB53B","family":"yellow","bestTextColor":"#000000","contrastBlack":10.33,"contrastWhite":2.03,"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":"#9BC251","hex":"#9BC251","family":"green","bestTextColor":"#000000","contrastBlack":10.23,"contrastWhite":2.05,"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","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/c2b151.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/old-gold.json"]}
Harmonies
{"complementary":"#5162C2","analogous":["#C27951","#9BC251"],"triadic":["#51C2B1","#B151C2"],"tetradic":["#51C279","#5162C2","#C2519B"],"splitComplementary":["#519BC2","#7951C2"],"monochromatic":["#DAD095","#C2B151","#887B30"]}
Variants
{"light":"#DAD095","dark":"#887B30","saturated":"#DCC338","desaturated":"#A89F6B","pastel":"#DBD6B8","neon":"#FFE23D"}
Nearest named colors
[{"slug":"brass","name":"Brass","hex":"#B5A642","distance":22.693611435820433},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":22.693611435820433},{"slug":"old-gold","name":"Old Gold","hex":"#CFB53B","distance":25.865034312755125},{"slug":"dark-khaki","name":"Dark Khaki","hex":"#BDB76B","distance":27.147743920996454},{"slug":"bamboo","name":"Bamboo","hex":"#C7B56E","distance":29.698484809834994}]

HEX meaning and use

About #C2B151

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

The RGB channels are 194, 177, and 81, with red carrying the strongest channel weight. In HSL, the hue is 51deg with 48% 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.4351, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 22.69, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text9.7:1AA Pass
White text2.16:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000009.7:1 · AAA
White text#FFFFFF2.16:1 · Fail

Accessible Alternatives

#DAD095#000000 text · best 13.44:1#DAD095
#DCC338#000000 text · best 11.91:1#DCC338
Old Gold#000000 text · best 10.33:1#CFB53B
Bamboo#000000 text · best 10.26:1#C7B56E
#9BC251#000000 text · best 10.23:1#9BC251

Generated Palette

#C2B151#C2B151
#5162C2#5162C2
#C27951#C27951
#9BC251#9BC251
#DAD095#DAD095
#887B30#887B30

Color Harmonies

#5162C2#5162C2
#C27951#C27951
#9BC251#9BC251
#51C2B1#51C2B1
#B151C2#B151C2

Variants

#DAD095#DAD095
#887B30#887B30
#DCC338#DCC338
#A89F6B#A89F6B
#DBD6B8#DBD6B8
#FFE23D#FFE23D

Nearest Named Colors