HEX atlas value

#1F2C1B

#1F2C1B is a cool green HEX color close to Raisin. According to Colors Encyclopedia, it converts to RGB 31, 44, 27, HSL 106, 24%, 14%, has luminance 0.0217, and belongs to the dark and earth tone groups.

#1F2C1B Sample readable text
HEX #1F2C1B
RGB rgb(31, 44, 27)
HSL hsl(106 24% 14%)
CMYK cmyk(30, 0, 39, 83)
Luminance 0.0217
Contrast Black 1.43:1White 14.64:1

CSS

--color-1f2c1b: #1F2C1B;
.background-1f2c1b { background-color: #1F2C1B; }
.text-1f2c1b { color: #1F2C1B; }

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.0217
Black text1.43:1AA Fail
White text14.64: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":"#1F2C1B","rgb":[31,44,27],"hsl":[106,24,14],"cmyk":[30,0,39,83],"luminance":0.0217,"contrast":{"black":1.43,"white":14.64}}
WCAG
{"AA":["#FFFFFF","#F5F5F5"],"AAA":["#FFFFFF","#F5F5F5"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":1.43,"wcagAA":false,"wcagAAA":false},{"name":"White text","hex":"#FFFFFF","contrast":14.64,"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":"Matte Black","hex":"#1A1A1A","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.21,"contrastWhite":17.41,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Carbon Fiber","hex":"#1C1C1C","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.23,"contrastWhite":17.05,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"#281B2C","hex":"#281B2C","family":"purple","bestTextColor":"#FFFFFF","contrastBlack":1.28,"contrastWhite":16.36,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]},{"name":"Raisin","hex":"#242124","family":"gray","bestTextColor":"#FFFFFF","contrastBlack":1.32,"contrastWhite":15.93,"wcagAA":["#FFFFFF","#F5F5F5"],"wcagAAA":["#FFFFFF","#F5F5F5"]}]
AI context
{"semanticGroups":["cool green","dark","earth tone","dark green","earth tone green","Raisin 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/1f2c1b.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/raisin.json","https://www.colorsencyclopedia.com/api/colors/rubber.json","https://www.colorsencyclopedia.com/api/colors/carbon-fiber.json"]}
Harmonies
{"complementary":"#281B2C","analogous":["#282C1B","#1B2C20"],"triadic":["#1B1F2C","#2C1B1F"],"tetradic":["#1B282C","#281B2C","#2C201B"],"splitComplementary":["#201B2C","#2C1B28"],"monochromatic":["#47653E","#1F2C1B","#000000"]}
Variants
{"light":"#47653E","dark":"#000000","saturated":"#1B3413","desaturated":"#232423","pastel":"#5F6C5A","neon":"#1A7000"}
Nearest named colors
[{"slug":"raisin","name":"Raisin","hex":"#242124","distance":15.066519173319364},{"slug":"rubber","name":"Rubber","hex":"#2A2725","distance":15.684387141358123},{"slug":"carbon-fiber","name":"Carbon Fiber","hex":"#1C1C1C","distance":16.30950643030009},{"slug":"slate-black","name":"Slate Black","hex":"#26282A","distance":17.029386365926403},{"slug":"matte-black","name":"Matte Black","hex":"#1A1A1A","distance":18.708286933869708}]

HEX meaning and use

About #1F2C1B

#1F2C1B is classified as a cool green value with dark and earth tone visual character. #1F2C1B is visually closest to Raisin, a named gray color with HEX #242124.

The RGB channels are 31, 44, and 27, with green carrying the strongest channel weight. In HSL, the hue is 106deg with 24% saturation and 14% 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.0217, white text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 15.07, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text1.43:1AA Fail
White text14.64:1AA Pass

AA text options: #FFFFFF, #F5F5F5.

AAA text options: #FFFFFF, #F5F5F5.

Accessibility-Safe Pairings and Alternatives

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

Black text#0000001.43:1 · Fail
White text#FFFFFF14.64:1 · AAA

Accessible Alternatives

Black#FFFFFF text · best 21:1#000000
Matte Black#FFFFFF text · best 17.41:1#1A1A1A
Carbon Fiber#FFFFFF text · best 17.05:1#1C1C1C
#281B2C#FFFFFF text · best 16.36:1#281B2C
Raisin#FFFFFF text · best 15.93:1#242124

Generated Palette

#1F2C1B#1F2C1B
#281B2C#281B2C
#282C1B#282C1B
#1B2C20#1B2C20
#47653E#47653E
Black#000000

Color Harmonies

#281B2C#281B2C
#282C1B#282C1B
#1B2C20#1B2C20
#1B1F2C#1B1F2C
#2C1B1F#2C1B1F

Variants

#47653E#47653E
Black#000000
#1B3413#1B3413
#232423#232423
#5F6C5A#5F6C5A
#1A7000#1A7000

Nearest Named Colors