HEX atlas value

#9F8D38

#9F8D38 is a warm yellow HEX color close to Oak. According to Colors Encyclopedia, it converts to RGB 159, 141, 56, HSL 50, 48%, 42%, has luminance 0.2671, and belongs to the earth tone group.

#9F8D38 Sample readable text
HEX #9F8D38
RGB rgb(159, 141, 56)
HSL hsl(50 48% 42%)
CMYK cmyk(0, 11, 65, 38)
Luminance 0.2671
Contrast Black 6.34:1White 3.31:1

CSS

--color-9f8d38: #9F8D38;
.background-9f8d38 { background-color: #9F8D38; }
.text-9f8d38 { color: #9F8D38; }

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.2671
Black text6.34:1AA Pass
White text3.31: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":"#9F8D38","rgb":[159,141,56],"hsl":[50,48,42],"cmyk":[0,11,65,38],"luminance":0.2671,"contrast":{"black":6.34,"white":3.31}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":6.34,"wcagAA":true,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":3.31,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#CABA68","hex":"#CABA68","family":"yellow","bestTextColor":"#000000","contrastBlack":10.73,"contrastWhite":1.96,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Brushed Brass","hex":"#B5A642","family":"yellow","bestTextColor":"#000000","contrastBlack":8.5,"contrastWhite":2.47,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#38499F","hex":"#38499F","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.62,"contrastWhite":8.01,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#5B5120","hex":"#5B5120","family":"yellow","bestTextColor":"#FFFFFF","contrastBlack":2.64,"contrastWhite":7.95,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#B69D20","hex":"#B69D20","family":"yellow","bestTextColor":"#000000","contrastBlack":7.83,"contrastWhite":2.68,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Oak 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/9f8d38.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/oak.json","https://www.colorsencyclopedia.com/api/colors/brass.json","https://www.colorsencyclopedia.com/api/colors/brushed-brass.json"]}
Harmonies
{"complementary":"#38499F","analogous":["#9F5A38","#7C9F38"],"triadic":["#389F8D","#8D389F"],"tetradic":["#389F5A","#38499F","#9F387C"],"splitComplementary":["#387C9F","#5A389F"],"monochromatic":["#CABA68","#9F8D38","#5B5120"]}
Variants
{"light":"#CABA68","dark":"#5B5120","saturated":"#B69D20","desaturated":"#877E4F","pastel":"#C7BD8F","neon":"#FFD500"}
Nearest named colors
[{"slug":"oak","name":"Oak","hex":"#A8754F","distance":34.438350715445125},{"slug":"brass","name":"Brass","hex":"#B5A642","distance":34.77067730142742},{"slug":"brushed-brass","name":"Brushed Brass","hex":"#B5A642","distance":34.77067730142742},{"slug":"antique-gold","name":"Antique Gold","hex":"#B08D57","distance":35.35533905932738},{"slug":"copper","name":"Copper","hex":"#B87333","distance":36.41428291206625}]

HEX meaning and use

About #9F8D38

#9F8D38 is classified as a warm yellow value with earth tone visual character. #9F8D38 is visually closest to Oak, a named orange color with HEX #A8754F.

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

WCAG Accessibility

Black text6.34:1AA Pass
White text3.31:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000006.34:1 · AA
White text#FFFFFF3.31:1 · Fail

Accessible Alternatives

#CABA68#000000 text · best 10.73:1#CABA68
Brushed Brass#000000 text · best 8.5:1#B5A642
#38499F#FFFFFF text · best 8.01:1#38499F
#5B5120#FFFFFF text · best 7.95:1#5B5120
#B69D20#000000 text · best 7.83:1#B69D20

Generated Palette

#9F8D38#9F8D38
#38499F#38499F
#9F5A38#9F5A38
#7C9F38#7C9F38
#CABA68#CABA68
#5B5120#5B5120

Color Harmonies

#38499F#38499F
#9F5A38#9F5A38
#7C9F38#7C9F38
#389F8D#389F8D
#8D389F#8D389F

Variants

#CABA68#CABA68
#5B5120#5B5120
#B69D20#B69D20
#877E4F#877E4F
#C7BD8F#C7BD8F
#FFD500#FFD500

Nearest Named Colors