HEX atlas value

#B9C17B

#B9C17B is a warm yellow HEX color close to Ecru. According to Colors Encyclopedia, it converts to RGB 185, 193, 123, HSL 67, 36%, 62%, has luminance 0.4988, and belongs to the earth tone group.

#B9C17B Sample readable text
HEX #B9C17B
RGB rgb(185, 193, 123)
HSL hsl(67 36% 62%)
CMYK cmyk(4, 0, 36, 24)
Luminance 0.4988
Contrast Black 10.98:1White 1.91:1

CSS

--color-b9c17b: #B9C17B;
.background-b9c17b { background-color: #B9C17B; }
.text-b9c17b { color: #B9C17B; }

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.4988
Black text10.98:1AA Pass
White text1.91: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":"#B9C17B","rgb":[185,193,123],"hsl":[67,36,62],"cmyk":[4,0,36,24],"luminance":0.4988,"contrast":{"black":10.98,"white":1.91}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":10.98,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.91,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#DADEBA","hex":"#DADEBA","family":"yellow","bestTextColor":"#000000","contrastBlack":15.14,"contrastWhite":1.39,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#C9D666","hex":"#C9D666","family":"yellow","bestTextColor":"#000000","contrastBlack":13.29,"contrastWhite":1.58,"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":"#96C17B","hex":"#96C17B","family":"green","bestTextColor":"#000000","contrastBlack":10.21,"contrastWhite":2.06,"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"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Ecru 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/b9c17b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/ecru.json","https://www.colorsencyclopedia.com/api/colors/sand.json","https://www.colorsencyclopedia.com/api/colors/dark-khaki.json"]}
Harmonies
{"complementary":"#837BC1","analogous":["#C1A67B","#96C17B"],"triadic":["#7BB9C1","#C17BB9"],"tetradic":["#7BC1A6","#837BC1","#C17B96"],"splitComplementary":["#7B96C1","#A67BC1"],"monochromatic":["#DADEBA","#B9C17B","#8F9948"]}
Variants
{"light":"#DADEBA","dark":"#8F9948","saturated":"#C9D666","desaturated":"#A9AC91","pastel":"#E3E5D7","neon":"#EDFF66"}
Nearest named colors
[{"slug":"ecru","name":"Ecru","hex":"#C2B280","distance":18.193405398660254},{"slug":"sand","name":"Sand","hex":"#C2B280","distance":18.193405398660254},{"slug":"dark-khaki","name":"Dark Khaki","hex":"#BDB76B","distance":19.28730152198591},{"slug":"bamboo","name":"Bamboo","hex":"#C7B56E","distance":22.561028345356956},{"slug":"sage-gray","name":"Sage Gray","hex":"#B2AC88","distance":25.67099530598687}]

HEX meaning and use

About #B9C17B

#B9C17B is classified as a warm yellow value with earth tone visual character. #B9C17B is visually closest to Ecru, a named yellow color with HEX #C2B280.

The RGB channels are 185, 193, and 123, with green carrying the strongest channel weight. In HSL, the hue is 67deg with 36% saturation and 62% 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.4988, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 18.19, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text10.98:1AA Pass
White text1.91:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000010.98:1 · AAA
White text#FFFFFF1.91:1 · Fail

Accessible Alternatives

#DADEBA#000000 text · best 15.14:1#DADEBA
#C9D666#000000 text · best 13.29:1#C9D666
Bamboo#000000 text · best 10.26:1#C7B56E
#96C17B#000000 text · best 10.21:1#96C17B
Dark Khaki#000000 text · best 10.15:1#BDB76B

Generated Palette

#B9C17B#B9C17B
#837BC1#837BC1
#C1A67B#C1A67B
#96C17B#96C17B
#DADEBA#DADEBA
#8F9948#8F9948

Color Harmonies

#837BC1#837BC1
#C1A67B#C1A67B
#96C17B#96C17B
#7BB9C1#7BB9C1
#C17BB9#C17BB9

Variants

#DADEBA#DADEBA
#8F9948#8F9948
#C9D666#C9D666
#A9AC91#A9AC91
#E3E5D7#E3E5D7
#EDFF66#EDFF66

Nearest Named Colors