HEX atlas value

#ECC227

#ECC227 is a warm yellow HEX color close to Saffron. According to Colors Encyclopedia, it converts to RGB 236, 194, 39, HSL 47, 84%, 54%, has luminance 0.5656, and belongs to the vibrant group.

#ECC227 Sample readable text
HEX #ECC227
RGB rgb(236, 194, 39)
HSL hsl(47 84% 54%)
CMYK cmyk(0, 18, 83, 7)
Luminance 0.5656
Contrast Black 12.31:1White 1.71:1

CSS

--color-ecc227: #ECC227;
.background-ecc227 { background-color: #ECC227; }
.text-ecc227 { color: #ECC227; }

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.5656
Black text12.31:1AA Pass
White text1.71:1AA Fail
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":"#ECC227","rgb":[236,194,39],"hsl":[47,84,54],"cmyk":[0,18,83,7],"luminance":0.5656,"contrast":{"black":12.31,"white":1.71}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":12.31,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.71,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"Dandelion","hex":"#F0E130","family":"yellow","bestTextColor":"#000000","contrastBlack":15.52,"contrastWhite":1.35,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#F4DA7C","hex":"#F4DA7C","family":"yellow","bestTextColor":"#000000","contrastBlack":15.17,"contrastWhite":1.38,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#B4EC27","hex":"#B4EC27","family":"green","bestTextColor":"#000000","contrastBlack":14.97,"contrastWhite":1.4,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#FFCC14","hex":"#FFCC14","family":"yellow","bestTextColor":"#000000","contrastBlack":13.9,"contrastWhite":1.51,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]},{"name":"Sunflower","hex":"#FFC512","family":"yellow","bestTextColor":"#000000","contrastBlack":13.25,"contrastWhite":1.59,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Saffron adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","high-energy accents","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/ecc227.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/saffron.json","https://www.colorsencyclopedia.com/api/colors/buttercup.json","https://www.colorsencyclopedia.com/api/colors/sunflower.json"]}
Harmonies
{"complementary":"#2752EC","analogous":["#EC5F27","#B4EC27"],"triadic":["#27ECC2","#C227EC"],"tetradic":["#27EC5F","#2752EC","#EC27B4"],"splitComplementary":["#27B4EC","#5F27EC"],"monochromatic":["#F4DA7C","#ECC227","#A9870F"]}
Variants
{"light":"#F4DA7C","dark":"#A9870F","saturated":"#FFCC14","desaturated":"#D2B341","pastel":"#EEDEA5","neon":"#FFD53D"}
Nearest named colors
[{"slug":"saffron","name":"Saffron","hex":"#F4C430","distance":12.206555615733702},{"slug":"buttercup","name":"Buttercup","hex":"#F3C13A","distance":20.273134932713294},{"slug":"sunflower","name":"Sunflower","hex":"#FFC512","distance":28.478061731796284},{"slug":"dandelion","name":"Dandelion","hex":"#F0E130","distance":32.526911934581186},{"slug":"marigold","name":"Marigold","hex":"#EAA221","distance":32.61901286060018}]

HEX meaning and use

About #ECC227

#ECC227 is classified as a warm yellow value with vibrant visual character. #ECC227 is visually closest to Saffron, a named yellow color with HEX #F4C430.

The RGB channels are 236, 194, and 39, with red carrying the strongest channel weight. In HSL, the hue is 47deg with 84% saturation and 54% lightness, so this page treats it as a high-saturation, mid-lightness 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 high-energy accents. Its luminance is 0.5656, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 12.21, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text12.31:1AA Pass
White text1.71:1AA Fail

AA text options: #000000, #1A1A1A, #36454F.

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000012.31:1 · AAA
White text#FFFFFF1.71:1 · Fail

Accessible Alternatives

Dandelion#000000 text · best 15.52:1#F0E130
#F4DA7C#000000 text · best 15.17:1#F4DA7C
#B4EC27#000000 text · best 14.97:1#B4EC27
#FFCC14#000000 text · best 13.9:1#FFCC14
Sunflower#000000 text · best 13.25:1#FFC512

Generated Palette

#ECC227#ECC227
#2752EC#2752EC
#EC5F27#EC5F27
#B4EC27#B4EC27
#F4DA7C#F4DA7C
#A9870F#A9870F

Color Harmonies

#2752EC#2752EC
#EC5F27#EC5F27
#B4EC27#B4EC27
#27ECC2#27ECC2
#C227EC#C227EC

Variants

#F4DA7C#F4DA7C
#A9870F#A9870F
#FFCC14#FFCC14
#D2B341#D2B341
#EEDEA5#EEDEA5
#FFD53D#FFD53D

Nearest Named Colors