HEX atlas value

#D2E31C

#D2E31C is a warm yellow HEX color close to Pear. According to Colors Encyclopedia, it converts to RGB 210, 227, 28, HSL 65, 78%, 50%, has luminance 0.6872, and belongs to the vibrant group.

#D2E31C Sample readable text
HEX #D2E31C
RGB rgb(210, 227, 28)
HSL hsl(65 78% 50%)
CMYK cmyk(7, 0, 88, 11)
Luminance 0.6872
Contrast Black 14.74:1White 1.42:1

CSS

--color-d2e31c: #D2E31C;
.background-d2e31c { background-color: #D2E31C; }
.text-d2e31c { color: #D2E31C; }

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.6872
Black text14.74:1AA Pass
White text1.42: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":"#D2E31C","rgb":[210,227,28],"hsl":[65,78,50],"cmyk":[7,0,88,11],"luminance":0.6872,"contrast":{"black":14.74,"white":1.42}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":14.74,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.42,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#EAFF00","hex":"#EAFF00","family":"yellow","bestTextColor":"#000000","contrastBlack":18.8,"contrastWhite":1.12,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Chartreuse Green","hex":"#DFFF00","family":"yellow","bestTextColor":"#000000","contrastBlack":18.44,"contrastWhite":1.14,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Electric Lime","hex":"#CCFF00","family":"green","bestTextColor":"#000000","contrastBlack":17.87,"contrastWhite":1.18,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#E2ED6E","hex":"#E2ED6E","family":"yellow","bestTextColor":"#000000","contrastBlack":16.57,"contrastWhite":1.27,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Dandelion","hex":"#F0E130","family":"yellow","bestTextColor":"#000000","contrastBlack":15.52,"contrastWhite":1.35,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]}]
AI context
{"semanticGroups":["warm yellow","vibrant","vibrant yellow","Pear 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/d2e31c.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/pear.json","https://www.colorsencyclopedia.com/api/colors/citrine.json","https://www.colorsencyclopedia.com/api/colors/dandelion.json"]}
Harmonies
{"complementary":"#2D1CE3","analogous":["#E3901C","#6FE31C"],"triadic":["#1CD2E3","#E31CD2"],"tetradic":["#1CE390","#2D1CE3","#E31C6F"],"splitComplementary":["#1C6FE3","#901CE3"],"monochromatic":["#E2ED6E","#D2E31C","#879112"]}
Variants
{"light":"#E2ED6E","dark":"#879112","saturated":"#EAFF00","desaturated":"#BBC738","pastel":"#E1E797","neon":"#EDFF29"}
Nearest named colors
[{"slug":"pear","name":"Pear","hex":"#D1E231","distance":21.047565179849187},{"slug":"citrine","name":"Citrine","hex":"#E4D00A","distance":31.76476034853718},{"slug":"dandelion","name":"Dandelion","hex":"#F0E130","distance":36.11094017053558},{"slug":"electric-lime","name":"Electric Lime","hex":"#CCFF00","distance":40.049968789001575},{"slug":"chartreuse-green","name":"Chartreuse Green","hex":"#DFFF00","distance":41.677331968349414}]

HEX meaning and use

About #D2E31C

#D2E31C is classified as a warm yellow value with vibrant visual character. #D2E31C is visually closest to Pear, a named yellow color with HEX #D1E231.

The RGB channels are 210, 227, and 28, with green carrying the strongest channel weight. In HSL, the hue is 65deg with 78% saturation and 50% 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.6872, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 21.05, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text14.74:1AA Pass
White text1.42:1AA Fail

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

AAA text options: #000000, #1A1A1A.

Accessibility-Safe Pairings and Alternatives

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

Black text#00000014.74:1 · AAA
White text#FFFFFF1.42:1 · Fail

Accessible Alternatives

#EAFF00#000000 text · best 18.8:1#EAFF00
Chartreuse Green#000000 text · best 18.44:1#DFFF00
Electric Lime#000000 text · best 17.87:1#CCFF00
#E2ED6E#000000 text · best 16.57:1#E2ED6E
Dandelion#000000 text · best 15.52:1#F0E130

Generated Palette

#D2E31C#D2E31C
#2D1CE3#2D1CE3
#E3901C#E3901C
#6FE31C#6FE31C
#E2ED6E#E2ED6E
#879112#879112

Color Harmonies

#2D1CE3#2D1CE3
#E3901C#E3901C
#6FE31C#6FE31C
#1CD2E3#1CD2E3
#E31CD2#E31CD2

Variants

#E2ED6E#E2ED6E
#879112#879112
#EAFF00#EAFF00
#BBC738#BBC738
#E1E797#E1E797
#EDFF29#EDFF29

Nearest Named Colors