HEX atlas value

#838A38

#838A38 is a warm yellow HEX color close to Olive Green. According to Colors Encyclopedia, it converts to RGB 131, 138, 56, HSL 65, 42%, 38%, has luminance 0.2329, and belongs to the earth tone group.

#838A38 Sample readable text
HEX #838A38
RGB rgb(131, 138, 56)
HSL hsl(65 42% 38%)
CMYK cmyk(5, 0, 59, 46)
Luminance 0.2329
Contrast Black 5.66:1White 3.71:1

CSS

--color-838a38: #838A38;
.background-838a38 { background-color: #838A38; }
.text-838a38 { color: #838A38; }

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.2329
Black text5.66:1AA Pass
White text3.71: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":"#838A38","rgb":[131,138,56],"hsl":[65,42,38],"cmyk":[5,0,59,46],"luminance":0.2329,"contrast":{"black":5.66,"white":3.71}}
WCAG
{"AA":["#000000","#1A1A1A"],"AAA":[]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":5.66,"wcagAA":true,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":3.71,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#B6BE60","hex":"#B6BE60","family":"yellow","bestTextColor":"#000000","contrastBlack":10.52,"contrastWhite":2,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"#3F388A","hex":"#3F388A","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":2.14,"contrastWhite":9.79,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#45481E","hex":"#45481E","family":"yellow","bestTextColor":"#FFFFFF","contrastBlack":2.2,"contrastWhite":9.55,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#959F23","hex":"#959F23","family":"yellow","bestTextColor":"#000000","contrastBlack":7.26,"contrastWhite":2.89,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]},{"name":"Moss Green","hex":"#8A9A5B","family":"green","bestTextColor":"#000000","contrastBlack":6.85,"contrastWhite":3.06,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":[]}]
AI context
{"semanticGroups":["warm yellow","earth tone","earth tone yellow","Olive Green 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/838a38.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/olive-green.json","https://www.colorsencyclopedia.com/api/colors/olive-drab.json","https://www.colorsencyclopedia.com/api/colors/olive-leaf.json"]}
Harmonies
{"complementary":"#3F388A","analogous":["#8A6838","#5A8A38"],"triadic":["#38838A","#8A3883"],"tetradic":["#388A68","#3F388A","#8A385A"],"splitComplementary":["#385A8A","#68388A"],"monochromatic":["#B6BE60","#838A38","#45481E"]}
Variants
{"light":"#B6BE60","dark":"#45481E","saturated":"#959F23","desaturated":"#71744E","pastel":"#B6BA87","neon":"#D7EB00"}
Nearest named colors
[{"slug":"olive-green","name":"Olive Green","hex":"#708238","distance":20.615528128088304},{"slug":"olive-drab","name":"Olive Drab","hex":"#6B8E23","distance":32.14031735997639},{"slug":"olive-leaf","name":"Olive Leaf","hex":"#6B8E23","distance":32.14031735997639},{"slug":"raw-umber","name":"Raw Umber","hex":"#826644","distance":37.960505792204614},{"slug":"moss-green","name":"Moss Green","hex":"#8A9A5B","distance":39.11521443121589}]

HEX meaning and use

About #838A38

#838A38 is classified as a warm yellow value with earth tone visual character. #838A38 is visually closest to Olive Green, a named green color with HEX #708238.

The RGB channels are 131, 138, and 56, with green carrying the strongest channel weight. In HSL, the hue is 65deg with 42% saturation and 38% 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.2329, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 20.62, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text5.66:1AA Pass
White text3.71:1AA Fail

AA text options: #000000, #1A1A1A.

AAA text options: none in seed set.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000005.66:1 · AA
White text#FFFFFF3.71:1 · Fail

Accessible Alternatives

#B6BE60#000000 text · best 10.52:1#B6BE60
#3F388A#FFFFFF text · best 9.79:1#3F388A
#45481E#FFFFFF text · best 9.55:1#45481E
#959F23#000000 text · best 7.26:1#959F23
Moss Green#000000 text · best 6.85:1#8A9A5B

Generated Palette

#838A38#838A38
#3F388A#3F388A
#8A6838#8A6838
#5A8A38#5A8A38
#B6BE60#B6BE60
#45481E#45481E

Color Harmonies

#3F388A#3F388A
#8A6838#8A6838
#5A8A38#5A8A38
#38838A#38838A
#8A3883#8A3883

Variants

#B6BE60#B6BE60
#45481E#45481E
#959F23#959F23
#71744E#71744E
#B6BA87#B6BA87
#D7EB00#D7EB00

Nearest Named Colors