HEX atlas value

#021D0C

#021D0C is a cool green HEX color close to Carbon Black. According to Colors Encyclopedia, it converts to RGB 2, 29, 12, HSL 142, 87%, 6%, has luminance 0.0092, and belongs to the dark and jewel tone groups.

#021D0C Sample readable text
HEX #021D0C
RGB rgb(2, 29, 12)
HSL hsl(142 87% 6%)
CMYK cmyk(93, 0, 59, 89)
Luminance 0.0092
Contrast Black 1.18:1White 17.74:1

CSS

--color-021d0c: #021D0C;
.background-021d0c { background-color: #021D0C; }
.text-021d0c { color: #021D0C; }

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.0092
Black text1.18:1AA Fail
White text17.74: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":"#021D0C","rgb":[2,29,12],"hsl":[142,87,6],"cmyk":[93,0,59,89],"luminance":0.0092,"contrast":{"black":1.18,"white":17.74}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.18,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":17.74,"wcagAA":true,"wcagAAA":true}]
Accessible alternatives
[{"name":"Black","hex":"#000000","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1,"contrastWhite":21,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#1D0213","hex":"#1D0213","family":"pink","bestTextColor":"#FFFFFF","contrastBlack":1.07,"contrastWhite":19.63,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Carbon Black","hex":"#0C0C0C","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.07,"contrastWhite":19.55,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#05190D","hex":"#05190D","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.15,"contrastWhite":18.23,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#061D02","hex":"#061D02","family":"green","bestTextColor":"#FFFFFF","contrastBlack":1.18,"contrastWhite":17.74,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["cool green","dark","jewel tone","dark green","jewel tone green","Carbon Black 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/021d0c.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/carbon-black.json","https://www.colorsencyclopedia.com/api/colors/matte-black.json","https://www.colorsencyclopedia.com/api/colors/carbon-fiber.json"]}
Harmonies
{"complementary":"#1D0213","analogous":["#061D02","#021D19"],"triadic":["#0C021D","#1D0C02"],"tetradic":["#02061D","#1D0213","#1D1902"],"splitComplementary":["#19021D","#1D0206"],"monochromatic":["#08722F","#021D0C","#000000"]}
Variants
{"light":"#08722F","dark":"#000000","saturated":"#001F0B","desaturated":"#05190D","pastel":"#168840","neon":"#00471A"}
Nearest named colors
[{"slug":"carbon-black","name":"Carbon Black","hex":"#0C0C0C","distance":19.72308292331602},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":27.94637722496424},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":30.54504869860253},{"slug":"black","name":"Black","hex":"#000000","distance":31.448370387032774},{"slug":"raisin","name":"Raisin","hex":"#242124","distance":41.80908992073375}]

HEX meaning and use

About #021D0C

#021D0C is classified as a cool green value with dark and jewel tone visual character. #021D0C is visually closest to Carbon Black, a named gray color with HEX #0C0C0C.

The RGB channels are 2, 29, and 12, with green carrying the strongest channel weight. In HSL, the hue is 142deg with 87% saturation and 6% 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.0092, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 19.72, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.18:1AA Fail
White text17.74:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.18:1 · Fail
White text#FFFFFF17.74:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
#1D0213#FFFFFF text · best 19.63:1#1D0213
Carbon Black#FFFFFF text · best 19.55:1#0C0C0C
#05190D#FFFFFF text · best 18.23:1#05190D
#061D02#FFFFFF text · best 17.74:1#061D02

Generated Palette

#021D0C#021D0C
#1D0213#1D0213
#061D02#061D02
#021D19#021D19
#08722F#08722F
Black#000000

Color Harmonies

#1D0213#1D0213
#061D02#061D02
#021D19#021D19
#0C021D#0C021D
#1D0C02#1D0C02

Variants

#08722F#08722F
Black#000000
#001F0B#001F0B
#05190D#05190D
#168840#168840
#00471A#00471A

Nearest Named Colors