HEX atlas value

#0C642A

#0C642A is a cool green HEX color close to Emerald Dark. According to Colors Encyclopedia, it converts to RGB 12, 100, 42, HSL 140, 79%, 22%, has luminance 0.0936, and belongs to the dark and jewel tone groups.

#0C642A Sample readable text
HEX #0C642A
RGB rgb(12, 100, 42)
HSL hsl(140 79% 22%)
CMYK cmyk(88, 0, 58, 61)
Luminance 0.0936
Contrast Black 2.87:1White 7.31:1

CSS

--color-0c642a: #0C642A;
.background-0c642a { background-color: #0C642A; }
.text-0c642a { color: #0C642A; }

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.0936
Black text2.87:1AA Fail
White text7.31: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":"#0C642A","rgb":[12,100,42],"hsl":[140,79,22],"cmyk":[88,0,58,61],"luminance":0.0936,"contrast":{"black":2.87,"white":7.31}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":2.87,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":7.31,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"#021208","hex":"#021208","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.09,"contrastWhite":19.23,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#640C47","hex":"#640C47","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.69,"contrastWhite":12.46,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"British Racing Green","hex":"#004225","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.81,"contrastWhite":11.63,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#18582D","hex":"#18582D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.47,"contrastWhite":8.5,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#15B74B","hex":"#15B74B","family":"green","bestTextColor":"#000000","contrastBlack":7.91,"contrastWhite":2.66,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]}]
AI context
{"semanticGroups":["cool green","dark","jewel tone","dark green","jewel tone green","Emerald Dark adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","rich accent palettes","dark theme accents","botanical and wellness palettes"],"contrastSafeWith":["#FFFFFF","#F5F5F5"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/0c642a.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/emerald-dark.json","https://www.colorsencyclopedia.com/api/colors/british-racing-green.json","https://www.colorsencyclopedia.com/api/colors/bottle-green.json"]}
Harmonies
{"complementary":"#640C47","analogous":["#1B640C","#0C6456"],"triadic":["#290C64","#64290C"],"tetradic":["#0C1B64","#640C47","#64560C"],"splitComplementary":["#560C64","#640C1B"],"monochromatic":["#15B74B","#0C642A","#021208"]}
Variants
{"light":"#15B74B","dark":"#021208","saturated":"#007025","desaturated":"#18582D","pastel":"#2BC55E","neon":"#009933"}
Nearest named colors
[{"slug":"emerald-dark","name":"Emerald Dark","hex":"#046307","distance":35.91656999213594},{"slug":"british-racing-green","name":"British Racing Green","hex":"#004225","distance":36.40054944640259},{"slug":"bottle-green","name":"Bottle Green","hex":"#006A4E","distance":38.41874542459709},{"slug":"dark-green","name":"Dark Green","hex":"#006400","distance":43.68065933568311},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":44.78839135311738}]

HEX meaning and use

About #0C642A

#0C642A is classified as a cool green value with dark and jewel tone visual character. #0C642A is visually closest to Emerald Dark, a named green color with HEX #046307.

The RGB channels are 12, 100, and 42, with green carrying the strongest channel weight. In HSL, the hue is 140deg with 79% saturation and 22% lightness, so this page treats it as a high-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 rich accent palettes. Its luminance is 0.0936, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 35.92, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text2.87:1AA Fail
White text7.31:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000002.87:1 · Fail
White text#FFFFFF7.31:1 · AAA

Accessible Alternatives

#021208#FFFFFF text · best 19.23:1#021208
#640C47#FFFFFF text · best 12.46:1#640C47
British Racing Green#FFFFFF text · best 11.63:1#004225
#18582D#FFFFFF text · best 8.5:1#18582D
#15B74B#000000 text · best 7.91:1#15B74B

Generated Palette

#0C642A#0C642A
#640C47#640C47
#1B640C#1B640C
#0C6456#0C6456
#15B74B#15B74B
#021208#021208

Color Harmonies

#640C47#640C47
#1B640C#1B640C
#0C6456#0C6456
#290C64#290C64
#64290C#64290C

Variants

#15B74B#15B74B
#021208#021208
#007025#007025
#18582D#18582D
#2BC55E#2BC55E
#009933#009933

Nearest Named Colors