HEX atlas value

#313F38

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

#313F38 Sample readable text
HEX #313F38
RGB rgb(49, 63, 56)
HSL hsl(150 13% 22%)
CMYK cmyk(22, 0, 11, 75)
Luminance 0.0449
Contrast Black 1.9:1White 11.06:1

CSS

--color-313f38: #313F38;
.background-313f38 { background-color: #313F38; }
.text-313f38 { color: #313F38; }

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.0449
Black text1.9:1AA Fail
White text11.06: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":"#313F38","rgb":[49,63,56],"hsl":[150,13,22],"cmyk":[22,0,11,75],"luminance":0.0449,"contrast":{"black":1.9,"white":11.06}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.9,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":11.06,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"#090C0A","hex":"#090C0A","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.07,"contrastWhite":19.66,"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":"#3F3138","hex":"#3F3138","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.71,"contrastWhite":12.3,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Onyx","hex":"#353839","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.78,"contrastWhite":11.82,"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/313f38.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":"#3F3138","analogous":["#313F31","#313F3F"],"triadic":["#38313F","#3F3831"],"tetradic":["#31313F","#3F3138","#3F3F31"],"splitComplementary":["#3F313F","#3F3131"],"monochromatic":["#597366","#313F38","#090C0A"]}
Variants
{"light":"#597366","dark":"#090C0A","saturated":"#244C38","desaturated":"#383838","pastel":"#787878","neon":"#00994D"}
Nearest named colors
[{"slug":"onyx","name":"Onyx","hex":"#353839","distance":8.12403840463596},{"slug":"graphite","name":"Graphite","hex":"#383838","distance":9.899494936611665},{"slug":"jet","name":"Jet","hex":"#343434","distance":12.083045973594572},{"slug":"gunmetal","name":"Gunmetal","hex":"#2A3439","distance":13.076696830622021},{"slug":"pine-needle","name":"Pine Needle","hex":"#334D41","distance":16.76305461424021}]

HEX meaning and use

About #313F38

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

The RGB channels are 49, 63, and 56, with green carrying the strongest channel weight. In HSL, the hue is 150deg 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.0449, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 8.12, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.9:1AA Fail
White text11.06:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.9:1 · Fail
White text#FFFFFF11.06:1 · AAA

Accessible Alternatives

#090C0A#FFFFFF text · best 19.66:1#090C0A
Gunmetal#FFFFFF text · best 12.74:1#2A3439
Jet#FFFFFF text · best 12.46:1#343434
#3F3138#FFFFFF text · best 12.3:1#3F3138
Onyx#FFFFFF text · best 11.82:1#353839

Generated Palette

#313F38#313F38
#3F3138#3F3138
#313F31#313F31
#313F3F#313F3F
#597366#597366
#090C0A#090C0A

Color Harmonies

#3F3138#3F3138
#313F31#313F31
#313F3F#313F3F
#38313F#38313F
#3F3831#3F3831

Variants

#597366#597366
#090C0A#090C0A
#244C38#244C38
Graphite#383838
#787878#787878
#00994D#00994D

Nearest Named Colors