HEX atlas value

#0C642B

#0C642B is a cool green HEX color close to British Racing Green. According to Colors Encyclopedia, it converts to RGB 12, 100, 43, HSL 141, 79%, 22%, has luminance 0.0937, and belongs to the dark and jewel tone groups.

#0C642B Sample readable text
HEX #0C642B
RGB rgb(12, 100, 43)
HSL hsl(141 79% 22%)
CMYK cmyk(88, 0, 57, 61)
Luminance 0.0937
Contrast Black 2.87:1White 7.31:1

CSS

--color-0c642b: #0C642B;
.background-0c642b { background-color: #0C642B; }
.text-0c642b { color: #0C642B; }

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.0937
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":"#0C642B","rgb":[12,100,43],"hsl":[141,79,22],"cmyk":[88,0,57,61],"luminance":0.0937,"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":"#640C45","hex":"#640C45","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.68,"contrastWhite":12.5,"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":"#18582F","hex":"#18582F","family":"green","bestTextColor":"#FFFFFF","contrastBlack":2.48,"contrastWhite":8.48,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#15B74E","hex":"#15B74E","family":"green","bestTextColor":"#000000","contrastBlack":7.92,"contrastWhite":2.65,"wcagAA":["#000000","#1A1A1A"],"wcagAAA":["#000000"]}]
AI context
{"semanticGroups":["cool green","dark","jewel tone","dark green","jewel tone green","British Racing Green 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/0c642b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/british-racing-green.json","https://www.colorsencyclopedia.com/api/colors/emerald-dark.json","https://www.colorsencyclopedia.com/api/colors/bottle-green.json"]}
Harmonies
{"complementary":"#640C45","analogous":["#19640C","#0C6457"],"triadic":["#2B0C64","#642B0C"],"tetradic":["#0C1964","#640C45","#64570C"],"splitComplementary":["#570C64","#640C19"],"monochromatic":["#15B74E","#0C642B","#021208"]}
Variants
{"light":"#15B74E","dark":"#021208","saturated":"#007027","desaturated":"#18582F","pastel":"#2BC561","neon":"#009936"}
Nearest named colors
[{"slug":"british-racing-green","name":"British Racing Green","hex":"#004225","distance":36.55133376499413},{"slug":"emerald-dark","name":"Emerald Dark","hex":"#046307","distance":36.89173349139343},{"slug":"bottle-green","name":"Bottle Green","hex":"#006A4E","distance":37.48332962798263},{"slug":"hunter-green","name":"Hunter Green","hex":"#355E3B","distance":44.41846462902562},{"slug":"dark-green","name":"Dark Green","hex":"#006400","distance":44.64302857109943}]

HEX meaning and use

About #0C642B

#0C642B is classified as a cool green value with dark and jewel tone visual character. #0C642B is visually closest to British Racing Green, a named green color with HEX #004225.

The RGB channels are 12, 100, and 43, with green carrying the strongest channel weight. In HSL, the hue is 141deg 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.0937, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 36.55, 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 #0C642B 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
#640C45#FFFFFF text · best 12.5:1#640C45
British Racing Green#FFFFFF text · best 11.63:1#004225
#18582F#FFFFFF text · best 8.48:1#18582F
#15B74E#000000 text · best 7.92:1#15B74E

Generated Palette

#0C642B#0C642B
#640C45#640C45
#19640C#19640C
#0C6457#0C6457
#15B74E#15B74E
#021208#021208

Color Harmonies

#640C45#640C45
#19640C#19640C
#0C6457#0C6457
#2B0C64#2B0C64
#642B0C#642B0C

Variants

#15B74E#15B74E
#021208#021208
#007027#007027
#18582F#18582F
#2BC561#2BC561
#009936#009936

Nearest Named Colors