HEX atlas value

#313F34

#313F34 is a cool green HEX color close to Onyx. According to Colors Encyclopedia, it converts to RGB 49, 63, 52, HSL 133, 13%, 22%, has luminance 0.0446, and belongs to the dark and earth tone groups.

#313F34 Sample readable text
HEX #313F34
RGB rgb(49, 63, 52)
HSL hsl(133 13% 22%)
CMYK cmyk(22, 0, 17, 75)
Luminance 0.0446
Contrast Black 1.89:1White 11.1:1

CSS

--color-313f34: #313F34;
.background-313f34 { background-color: #313F34; }
.text-313f34 { color: #313F34; }

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.0446
Black text1.89:1AA Fail
White text11.1:1AA Pass
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":"#313F34","rgb":[49,63,52],"hsl":[133,13,22],"cmyk":[22,0,17,75],"luminance":0.0446,"contrast":{"black":1.89,"white":11.1}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.89,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":11.1,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"#090C09","hex":"#090C09","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.07,"contrastWhite":19.66,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Charcoal Blue","hex":"#263238","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.6,"contrastWhite":13.16,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Gunmetal","hex":"#2A3439","family":"blue","bestTextColor":"#FFFFFF","contrastBlack":1.65,"contrastWhite":12.74,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Jet","hex":"#343434","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.69,"contrastWhite":12.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#3F313C","hex":"#3F313C","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.72,"contrastWhite":12.24,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["cool green","dark","earth tone","dark green","earth tone green","Onyx adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","natural palettes","dark theme accents","botanical and wellness palettes"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/313f34.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/onyx.json","https://www.colorsencyclopedia.com/api/colors/graphite.json","https://www.colorsencyclopedia.com/api/colors/jet.json"]}
Harmonies
{"complementary":"#3F313C","analogous":["#353F31","#313F3B"],"triadic":["#34313F","#3F3431"],"tetradic":["#31353F","#3F313C","#3F3B31"],"splitComplementary":["#3B313F","#3F3135"],"monochromatic":["#59735E","#313F34","#090C09"]}
Variants
{"light":"#59735E","dark":"#090C09","saturated":"#244C2D","desaturated":"#383838","pastel":"#787878","neon":"#009921"}
Nearest named colors
[{"slug":"onyx","name":"Onyx","hex":"#353839","distance":9.486832980505138},{"slug":"graphite","name":"Graphite","hex":"#383838","distance":10.677078252031311},{"slug":"jet","name":"Jet","hex":"#343434","distance":11.40175425099138},{"slug":"gunmetal","name":"Gunmetal","hex":"#2A3439","distance":13.96424004376894},{"slug":"charcoal-blue","name":"Charcoal Blue","hex":"#263238","distance":17.4928556845359}]

HEX meaning and use

About #313F34

#313F34 is classified as a cool green value with dark and earth tone visual character. #313F34 is visually closest to Onyx, a named gray color with HEX #353839.

The RGB channels are 49, 63, and 52, with green carrying the strongest channel weight. In HSL, the hue is 133deg with 13% saturation and 22% lightness, so this page treats it as a low-saturation, dark 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.0446, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 9.49, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.89:1AA Fail
White text11.1:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.89:1 · Fail
White text#FFFFFF11.1:1 · AAA

Accessible Alternatives

#090C09#FFFFFF text · best 19.66:1#090C09
Charcoal Blue#FFFFFF text · best 13.16:1#263238
Gunmetal#FFFFFF text · best 12.74:1#2A3439
Jet#FFFFFF text · best 12.46:1#343434
#3F313C#FFFFFF text · best 12.24:1#3F313C

Generated Palette

#313F34#313F34
#3F313C#3F313C
#353F31#353F31
#313F3B#313F3B
#59735E#59735E
#090C09#090C09

Color Harmonies

#3F313C#3F313C
#353F31#353F31
#313F3B#313F3B
#34313F#34313F
#3F3431#3F3431

Variants

#59735E#59735E
#090C09#090C09
#244C2D#244C2D
Graphite#383838
#787878#787878
#009921#009921

Nearest Named Colors